Is this true? I thought we weren't going to require JDK 1.2+ quite yet.
I was about to temporarily copy the JAXP stuff into the xml-xalan tree so
we can short-term use the new code in the xalan build, but I don't want to
yank xalan developers into the 1.2+ requirement yet. (Yes, I should help
working on moving xml-commons integration out, but the rest of life is
interfering right now)
Is there any simple way to make this also compile on 1.1, perhaps with a
couple of reflection calls? Or should I just skip this for now, and update
to 1.2 later?
(I cc:'d a few people who might not yet have subscribed to commons-dev)
- Shane
E:\builds\xml-commons\java\external>build
Xalan-J 2.x Build
-------------
"f:\jdks\jdk1.1.8\bin\java" -Dant.home="" -classpath
"bin\ant.jar;bin\xerces.ja
r;f:\jdks\jdk1.1.8\lib\classes.zip;f:\jdks\jsdk2.0\lib\jsdk.jar;f:
\jdks\jdk1.1.8
\lib\classes.zip" org.apache.tools.ant.Main
Buildfile: build.xml
prepare:
[mkdir] Created dir: E:\builds\xml-commons\java\external\build\classes
[mkdir] Created dir: E:\builds\xml-commons\java\external\build\docs
[mkdir] Created dir: E:
\builds\xml-commons\java\external\build\docs\javadoc
compile:
[javac] Compiling 121 source files to E:
\builds\xml-commons\java\external\bu
ild\classes
[javac] E:
\builds\xml-commons\java\external\src\javax\xml\parsers\FactoryFin
der.java:264: Method getContextClassLoader() not found in class
java.lang.Thread
.
[javac] return Thread.currentThread().getContextClassLoader
();
[javac]
^
[javac] E:
\builds\xml-commons\java\external\src\javax\xml\transform\FactoryF
inder.java:263: Method getContextClassLoader() not found in class
java.lang.Thre
ad.
[javac] return Thread.currentThread().getContextClassLoader
();
[javac]
^
[javac] E:
\builds\xml-commons\java\external\src\org\xml\sax\helpers\ParserAd
apter.java:568: Method add(org.xml.sax.SAXException) not found in class
java.uti
l.Vector.
[javac] exceptions.add(e);
[javac] ^
[javac] E:
\builds\xml-commons\java\external\src\org\xml\sax\helpers\ParserAd
apter.java:591: Method get(int) not found in class java.util.Vector.
[javac] errorHandler.error
((SAXParseException)(exceptions.get(i)
));
[javac]
^
[javac] 4 errors
BUILD FAILED