My JDK, which is: $ java -fullversion java full version "1.4.0-beta-b65" does not have java.util.regex.Pattern.UNIX_LINES constant. And in my 1.4 Javadocs this attribute is not listed either. So - what is the story behind this attribute? Found 1 semantic error compiling "/home/projects/Apache/CVS/jakarta-ant/src/main/org/apache/tools/ant/util/regexp/Jdk14RegexpMatcher.java": 165. int cOptions = Pattern.UNIX_LINES; <----------------> *** Error: No field named "UNIX_LINES" was found in type "java/util/regex/Pattern". TIA Mariusz PS. The attached patch makes the following source code "pedantic": org/apache/tools/ant/taskdefs/optional/sitraka/bytecode/ClassPathLoader.java org/apache/tools/ant/taskdefs/optional/sitraka/bytecode/attributes/AttributeInfo.java org/apache/tools/ant/taskdefs/optional/sos/SOSCmd.java