Alexander Kriegisch created XALANJ-2709:
-------------------------------------------

             Summary: Enable project to be built on JDK 9+
                 Key: XALANJ-2709
                 URL: https://issues.apache.org/jira/browse/XALANJ-2709
             Project: XalanJ2
          Issue Type: New Feature
      Security Level: No security risk; visible to anyone (Ordinary problems in 
Xalan projects.  Anybody can view the issue.)
            Reporter: Alexander Kriegisch
            Assignee: Gary D. Gregory


The current Maven build in branch {{xalan-java-mvn-refactored}} only works on 
JDK 8, mostly due to the taglet module which uses {{sun.com.*}} APIs which 
first were deprecated in JDK 9 and then later removed from the JDK entirely. 
I.e., currently there is no option to build on JDK 9+ with source and target 
1.8.

To do:
* Duplicate taglet classes and modify the new version to use the current taglet 
API in more recent JDKs, while still retaining the old JDK 8 classes. 
Otherwise, it would no longer be possible to build Xalan-J on JDK 8.
* Provide Maven profiles which auto-activate according to the currently used 
JDK on the build system, which alternatively build the old or the new taglet 
classes and use them later during javadoc generation.

This way, it should still be possible to build the actual Xalan-J classes with 
target 8. Only the taglet classes would be JDK-dependent.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to