[slf4j-dev] [JIRA] (SLF4J-428) automatic module name for jul-to-slf4j contains illegal token

QOS.CH (JIRA) noreply-jira at qos.ch
Tue Feb 19 15:33:00 CET 2019


    [ https://jira.qos.ch/browse/SLF4J-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19433#comment-19433 ] 

Ceki Gülcü commented on SLF4J-428:
----------------------------------

[~cowwoc] et al,

Does anyone know when was the reserved keyword issue solved in the JDK?

> 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.7.26, 1.8.0-beta4
>
>         Attachments: jpms-testcase.zip
>
>
> the automatic module name that is created in Java 9 for the jul-to-slf4 jar is _jul.to.slf4j at 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)


More information about the slf4j-dev mailing list