[ 
https://issues.apache.org/jira/browse/LOG4J2-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161240#comment-16161240
 ] 

Ralph Goers commented on LOG4J2-2041:
-------------------------------------

Java 9 still supports -source and -target. They added --release as it combines 
-source, -target and -bootclasspath. Most people don't add the third option 
which verifies that the code will actually run in the target release as that is 
the JDK that is used to perform the compile. 

> 2.9.0 contains classes built to class version 53
> ------------------------------------------------
>
>                 Key: LOG4J2-2041
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2041
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: William Ferguson
>
> 2.9.0 is built to class version 53, presumably because it includes attempts 
> at support for JDK9.
> But JDK has not been released yet, so build tools that introspect class files 
> (such as Proguard) do not yet support consuming version 53 classes.
> Can I suggest that an appropriate forward path is to build using and against 
> JDK9 but to build to class version 52 until some time after JDK9 has been 
> released so as to not break existing tooling.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to