[prev in list] [next in list] [prev in thread] [next in thread]
List: rampart-dev
Subject: [jira] [Created] (AXIS2-6040) Define Automatic-Module-Name for Java9 module system compatibility
From: "Wolfgang Knauf (Jira)" <jira () apache ! org>
Date: 2022-07-24 11:18:00
Message-ID: JIRA.13473117.1658661451000.86972.1658661480004 () Atlassian ! JIRA
[Download RAW message or body]
Wolfgang Knauf created AXIS2-6040:
-------------------------------------
Summary: Define Automatic-Module-Name for Java9 module system =
compatibility
Key: AXIS2-6040
URL: https://issues.apache.org/jira/browse/AXIS2-6040
Project: Axis2
Issue Type: Improvement
Components: kernel
Affects Versions: 1.8.2
Reporter: Wolfgang Knauf
After Java9 module system compatibility was fixed through [https://issues.a=
pache.org/jira/browse/AXIS2-4311], I used Eclipse to create a "module-info.=
java" to my small sample project.
This is the resulting module-info.java file:
{{module myprojectname}}
{{{}}
{{=C2=A0 exports my.own.project.package;}}
{{=C2=A0 requires axiom.api;}}
{{=C2=A0 requires axis2.adb;}}
{{=C2=A0 requires axis2.kernel;}}
{{=C2=A0 requires commons.logging;}}
{{=C2=A0 requires jakarta.activation;}}
{{=C2=A0 requires java.rmi;}}
{{=C2=A0 requires java.xml;}}
{{}}}
=C2=A0
This results in four eclipse warnings:
{{Name of automatic module 'axiom.api' is unstable, it is derived from the =
module's file name.}}
{{Name of automatic module 'axis2.adb' is unstable, it is derived from the =
module's file name.}}
{{Name of automatic module 'axis2.kernel' is unstable, it is derived from t=
he module's file name.}}
{{Name of automatic module 'commons.logging' is unstable, it is derived fro=
m the module's file name.}}
As far as I understand it, it would be sufficient to add a "Automatic-Modul=
e-Name" entry to Manifest.mf for the Axis2 jars- see e.g. [https://github.c=
om/ReactiveX/RxJava/issues/5618]
=C2=A0
=C2=A0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic