[jboss-jira] [JBoss JIRA] (JBLOGGING-121) Static initializer of class org.apache.log4j.helpers.Loader relies on obsolete java versioning scheme

Richard Opalka (JIRA) issues at jboss.org
Wed Mar 2 04:25:00 EST 2016


    [ https://issues.jboss.org/browse/JBLOGGING-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170587#comment-13170587 ] 

Richard Opalka commented on JBLOGGING-121:
------------------------------------------

I don't know what's the relationship between
org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.1.2.Final.jar
and 
http://logging.apache.org/log4j/2.x/download.html

Anyway I checked out log4j upstream and there's no problematic code in static initializer in
class org.apache.log4j.helpers.Loader

But I identified new java versioning scheme problem in org.apache.logging.log4j.core.layout.AbstractStringLayout.isPreJava8() method.



> Static initializer of class org.apache.log4j.helpers.Loader relies on obsolete java versioning scheme
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBLOGGING-121
>                 URL: https://issues.jboss.org/browse/JBLOGGING-121
>             Project: JBoss Logging
>          Issue Type: Bug
>          Components: jboss-logging-log4j
>            Reporter: Richard Opalka
>            Assignee: James Perkins
>
> JDK9 will introduce new java versioning scheme, see JEP-223
> http://openjdk.java.net/jeps/223
> Please update static initializer of class org.apache.log4j.helpers.Loader accordingly
> to ensure smooth JDK9 migration. ATM the initializer will not handle Java 9 properly.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list