JEP-238 & JEP-261 Coexistence
    Richard Opalka 
    ropalka at redhat.com
       
    Wed Apr  6 10:17:16 UTC 2016
    
    
  
Hi Experts,
    I expected if users provide 'multirelease' jar file with 
modules-info.class
placed in its META-INF/versions/9 folder would work without problems.
But I'm getting:
Caused by: java.lang.IllegalArgumentException: META-INF.versions.9: 
Invalid package name:  Illegal character at index 4
instead. Does it mean JEP238 and JEP-261 cannot coexist?
My jar content is:
$>jar tf transactions.jar
javax/
javax/annotation/
javax/annotation/security/
javax/annotation/security/PermitAll.class
javax/annotation/security/DenyAll.class
javax/annotation/security/DeclareRoles.class
javax/annotation/security/RolesAllowed.class
javax/annotation/security/RunAs.class
javax/annotation/PostConstruct.class
javax/annotation/sql/
javax/annotation/sql/DataSourceDefinition.class
javax/annotation/sql/DataSourceDefinitions.class
javax/annotation/ManagedBean.class
javax/annotation/PreDestroy.class
javax/annotation/Resources.class
javax/annotation/Resource$AuthenticationType.class
javax/annotation/Resource.class
javax/annotation/Generated.class
javax/annotation/Priority.class
META-INF/
META-INF/MANIFEST.MF
META-INF/versions/
META-INF/versions/9/
META-INF/versions/9/module-info.class
META-INF/LICENSE.txt
where javax resources are compiled for JDK8
and META-INF/MANIFEST.MF contains 'Multi-Release: true' entry.
Thanks in advance for clarification.
Rio
    
    
More information about the jigsaw-dev
mailing list