[
https://issues.apache.org/jira/browse/XERCESJ-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914578#comment-17914578
]
Svante Schubert edited comment on XERCESJ-1770 at 1/20/25 8:53 AM:
-------------------------------------------------------------------
Oracle did some heavy restructuring between the two LTS JDK 8 and JDK 11.
Such as removing access to tools.jar, limiting direct access to internal
classes, and introducing modules.
Many APIs had to be changed, like for JAVADOC the usage of taglets, which
earlier accessed the tools.jar.
It will lower the complexity of the Xerces build dramatically if building
Xerces would require JDK 11 and later and it would be aimed to provide a binary
for Java 8 (like using [--release
option|https://bugs.openjdk.org/browse/JDK-8058150])
I suggested these versions as both Oracle JDKs 8 and 11 support was extended:
"The Extended Support uplift fee will be waived for the period October 2023 –
January 2032 for Java SE 11. The Extended Support uplift fee will be waived for
the period March 2022 - December 2030 for Java SE 8. " see
[https://www.oracle.com/java/technologies/java-se-support-roadmap.html]
A different choice would be to take advantage of features from the latest LTS
to build and provide GitHub build regression tests for each LTS since JDK 11.
was (Author: svanteschubert):
Oracle did some heavy restructuring between the two LTS JDK 8 and JDK 11.
Such as removing access to tools.jar, providing direct access to internal
classes, and introducing modules.
Many APIs had to be changed, like for JAVADOC the usage of taglets, which
earlier accessed the tools.jar.
It will lower the complexity of the Xerces build dramatically if building
Xerces would require JDK 11 and later and it would be aimed to provide a binary
for Java 8 (like using [--release
option|https://bugs.openjdk.org/browse/JDK-8058150])
I suggested these versions as both Oracle JDKs 8 and 11 support was extended:
"The Extended Support uplift fee will be waived for the period October 2023 –
January 2032 for Java SE 11. The Extended Support uplift fee will be waived for
the period March 2022 - December 2030 for Java SE 8. " see
https://www.oracle.com/java/technologies/java-se-support-roadmap.html
A different choice would be to take advantage of features from the latest LTS
to build and provide GitHub build regression tests for each LTS since JDK 11.
> -Xbootclasspath/p is no longer a supported option.
> --------------------------------------------------
>
> Key: XERCESJ-1770
> URL: https://issues.apache.org/jira/browse/XERCESJ-1770
> Project: Xerces2-J
> Issue Type: Bug
> Reporter: Elliotte Rusty Harold
> Priority: Major
>
> ,/build.sh test on Java 9 or later gives:
> {{{}{}}}{{{}test:{}}}
> {{ [echo] Performing sanity test for Xerces-J 2.12.3 ...}}
> {{ [echo] Using
> classpath='./tools/xml-apis.jar:./tools/resolver.jar:./tools/serializer.jar:./build/classes'}}
> {{ [echo] Running sax.Counter ...}}
> {{ [java] -Xbootclasspath/p is no longer a supported option.}}
> {{ [java] Error: Could not create the Java Virtual Machine.}}
> {{ [java] Error: A fatal exception has occurred. Program will exit.}}
>
> Fix this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]