Issue Details (XML | Word | Printable)

Key: XERCESJ-1297
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Michael Glavassevich
Reporter: Ludger Bünger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Xerces2-J

Increase minimum JDK level to 1.3 in Xerces-J 2.10.0.

Created: 07/Apr/08 01:08 PM   Updated: Sunday 06:36 PM
Return to search
Component/s: Build, Documentation
Affects Version/s: 2.9.1
Fix Version/s: 2.10.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works Xerces-ensuring1.2-patch.txt 2008-12-04 04:48 PM Ludger Bünger 0.7 kB

Resolution Date: 07/Dec/08 05:57 AM


 Description  « Hide
As with svn commit 473379, org.apache.xerces.impl.XMLEntityManager uses the jdk method URL.getPath which is available since JDK 1.3 only.

Though 1.2 is really old, xerces currently claims JDK 1.2 compatibility.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ludger Bünger added a comment - 04/Dec/08 04:48 PM
To ensure that Xerces compiles under a specific JDK I suggest applying the following patch modifying the classpath under eclipse such that it choses from the installed SDKs a compilation environment as close to the desired one as possible (1.2 in this case/1.3 in the future) instead of using the default execution environment.
This will show compilation errors already in eclipse before commiting if the respective commiter has a suitable SDK installed.

Replace 1.2 by 1.3 if the community decides to advance to 1.3...

Michael Glavassevich added a comment - 07/Dec/08 05:27 AM
Ludger, we just had a vote on the j-dev list to drop support for JDK 1.2. It passed. The next release will require at least JDK 1.3 to compile and run. I've changed the abstract of this JIRA issue accordingly.

Michael Glavassevich added a comment - 07/Dec/08 05:57 AM
Thanks for the patch. I've commited the change to .classpath file with J2SE 1.3 as the version. Also updated the FAQ in the documentation. It now states that the minimum level is 1.3.