FW: [logback-user] logback 1.2.3 java11 compatibility

263 views
Skip to first unread message

Matthias Mueller

unread,
Mar 11, 2021, 7:08:33 AM3/11/21
to dropwiz...@googlegroups.com

This just came over the logback mailing list. – Since DW uses logback-classic: Would that be an issue for DW deployments in future Java runtime environments?

 

Kind regards,

Matthias

 

 

Von: logback-user <logback-us...@qos.ch> Im Auftrag von Baranes, Ofer
Gesendet: Donnerstag, 11. März 2021 11:29
An: logbac...@qos.ch
Betreff: [logback-user] logback 1.2.3 java11 compatibility

 

Hi there,

When checking compatibility to java11 using jdep, that was the output:

jdeps.exe -jdkinternals logback-classic-1.2.3.jar

 

logback-classic-1.2.3.jar -> JDK removed internal API

   ch.qos.logback.classic.spi.PackagingDataCalculator -> sun.reflect.Reflection                             JDK internal API (JDK removed internal API)

 

Warning: JDK internal APIs are unsupported and private to JDK implementation that are

subject to be removed or changed incompatibly and could break your application.

Please modify your code to eliminate dependence on any JDK internal APIs.

For the most recent update on JDK internal API replacements, please check:

https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool

 

JDK Internal API                         Suggested Replacement

----------------                         ---------------------

sun.reflect.Reflection                   Use java.lang.StackWalker @since 9

 

Would there be a compatible version to java 11? If so then When?
Is there any way to evaluate if this code would not be reachable on specific project?

 

Thanks

Ofer

"FINASTRA" is the trade name of the FINASTRA group of companies. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and FINASTRA. Please refer to the executed contract between you and the relevant member of the FINASTRA group for the identity of the contracting party with which you are dealing.

ATT00001.txt

Jochen Schalanda

unread,
Mar 11, 2021, 1:16:24 PM3/11/21
to dropwizard-user
Hi Matthias,

Dropwizard 2.x is working with Java 11 and the class path without any problems.

In case there are Java versions on which Logback 1.2.x won't work in the future, you can still use another logging framework such as Log4j 2.x.

Cheers,
Jochen

-- 
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dropwizard-user/68be23d1377f4c32ae113e534edd0dab%40MSX-L104.msx.ad.zih.tu-dresden.de.
_______________________________________________
logback-user mailing list
logbac...@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user

Matthias Mueller

unread,
Mar 11, 2021, 2:22:09 PM3/11/21
to dropwiz...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages