
[ https://jira.qos.ch/browse/SLF4J-428?page=com.atlassian.jira.plugin.system.i... ] Peter-Josef Meisch commented on SLF4J-428: ------------------------------------------ _to_ was in Java 9 a restricted keyword; see [http://cr.openjdk.java.net/~mr/jigsaw/spec/java-se-9-jls-diffs.pdf,] section 3.9, or in short Mark Reinhold's answer in SO: [https://stackoverflow.com/questions/36322223/new-keywords-in-java-9|https://stackoverflow.com/questions/36322223/new-keywords-in-java-9.] and using it in a module name produced an error when Java 9 came out.
automatic module name for jul-to-slf4j contains illegal token -------------------------------------------------------------
Key: SLF4J-428 URL: https://jira.qos.ch/browse/SLF4J-428 Project: SLF4J Issue Type: Bug Components: jul-to-slf4j Affects Versions: 1.8.0-beta1 Reporter: Peter-Josef Meisch Assignee: Ceki Gülcü Fix For: 1.8.0-beta2
the automatic module name that is created in Java 9 for the jul-to-slf4 jar is _jul.to.slf4j@1.8.0-beta1_. This contains the token *to* which is a reserved word in Java 9 so the generated name cannot be used in requires statements in modul-info.java files of projects using jul-to-slf4j and inhibits migration of projects to Java 9. This should be modified by adding {{Automatic-Module-Name: jul_to_slf4j}} to the manifest for the archive.
-- This message was sent by Atlassian JIRA (v7.3.1#73012)