You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/23 20:38:00 UTC
[jira] [Commented] (LOG4J2-3093) Nashorn-based plugins no longer
supported in Java 15+ due to JEP 372
[ https://issues.apache.org/jira/browse/LOG4J2-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350133#comment-17350133 ]
ASF subversion and git services commented on LOG4J2-3093:
---------------------------------------------------------
Commit 226924f3b6bf88e3c00710a256734d98a9c986bc in logging-log4j2's branch refs/heads/master from Matt Sicker
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=226924f ]
[LOG4J2-3093] Fix up some test errors in newer JDK
This diables the various JavaScript tests due to JEP 372: Remove the
Nashorn JavaScript Engine. This also updates some other tests in order
to run on newer JDKs.
> Nashorn-based plugins no longer supported in Java 15+ due to JEP 372
> --------------------------------------------------------------------
>
> Key: LOG4J2-3093
> URL: https://issues.apache.org/jira/browse/LOG4J2-3093
> Project: Log4j 2
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 2.14.1
> Reporter: Matt Sicker
> Priority: Major
>
> https://openjdk.java.net/jeps/372
> I first noticed this issue while attempting to run a build on Java 15. I'm working on finding the appropriate tests to disable on specific Java ranges, but this may also require some documentation updates to note the version range. Any reliance on a ScriptEngine being installed should also be updated to allow for no engines and to fail appropriately.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)