Skip to content

Update for Java 17#4

Merged
matthewhorridge merged 1 commit intomatthewhorridge:masterfrom
gouttegd:update-for-java17
Sep 27, 2022
Merged

Update for Java 17#4
matthewhorridge merged 1 commit intomatthewhorridge:masterfrom
gouttegd:update-for-java17

Conversation

@gouttegd
Copy link
Copy Markdown
Collaborator

This patch updates the NodeSerializer class to use the JAX Transformer API instead of internal Java classes -- which may change without notice and are no longer accessible by default in recent Java versions.

This allows mdock to work with Java 17 without having to start the JVM with a --add-opens java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED option, which is a temporary workaround that is best avoided.

This patch updates the NodeSerializer class to use the JAX Transformer
API instead of internal Java classes -- which may change without notice
and are no longer accessible by default in recent Java versions.
@matthewhorridge matthewhorridge merged commit 241bb8a into matthewhorridge:master Sep 27, 2022
@matthewhorridge
Copy link
Copy Markdown
Owner

Brilliant. Thanks very much for the contribution @gouttegd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants