Skip to content

Java 17#380

Open
u-kalifon wants to merge 2 commits intoTop-Q:masterfrom
u-kalifon:java17
Open

Java 17#380
u-kalifon wants to merge 2 commits intoTop-Q:masterfrom
u-kalifon:java17

Conversation

@u-kalifon
Copy link

  • Updating the Java version to 17.
  • Replacing JAXB with Jackson which is more up to date.
  • Removed import sun.awt.AppContext which is not allowed any more due to Java module restrictions, and is not needed any more in newer Swing version.
  • Removeed com.sun.security.sasl.Provider which is not needed any more since Java 9.
  • Removed sun.misc.BASE64Encoder and using the SDK's Base64 support.
  • Many small fixes due to the Java differences.

Udi Kalifon added 2 commits August 15, 2025 19:30
- Updating the Java version to 17.
- Replacing JAXB with Jackson which is more up to date.
- Removeed import sun.awt.AppContext which is not allowed any more due to Java
  module restrictions, and is not needed any more in newer Swing version.
- Removeed com.sun.security.sasl.Provider which is not needed any more since
  Java 9.
- Removed sun.misc.BASE64Encoder and using the SDK's Base64 support.
- Many small fixes due to the Java differences.
1) Jackson introduced a regression in JUnitReporter, and for
some strange reason the "classname" attribute was serialized out with
garbage characters in it.
Going back to the old version based on JAXB.
Jackson is still used everywhere else.

2) Adding JAXB dependencies to the assembly to avoid the runtime error:
SEVERE: Fail to endRun
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
        at jsystem.extensions.report.junit.JUnitReporter.toXml(JUnitReporter.java:143)
        at jsystem.extensions.report.junit.JUnitReporter.endRun(JUnitReporter.java:369)
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.

1 participant