issue deriving automatic module name
Remi Forax
forax at univ-mlv.fr
Wed Oct 4 07:18:06 UTC 2017
Hi Paul,
the whole idea of jigsaw is that if you pass the startup check of the module graph, there will be not surprise anymore,
so preventing the VM to boot is by design.
Here, you will not be able to reference the jar in another module-info so there is no point to start with a wrong configuration.
Rémi
----- Mail original -----
> De: "Paul Bakker" <paul.bakker.nl at gmail.com>
> À: "jigsaw-dev" <jigsaw-dev at openjdk.java.net>
> Envoyé: Mercredi 4 Octobre 2017 02:44:01
> Objet: issue deriving automatic module name
> Hi,
>
> I ran into an issue testing some migration scenarios. When using
> jboss-transaction-api_1.2_spec-1.0.1.Final.jar as an automatic module, startup
> fails with:
>
> Caused by: java.lang.IllegalArgumentException: jboss.transaction.api.1.2.spec:
> Invalid module name: '1' is not a Java identifier
>
> This is clearly a strange JAR name, and can be fixed by providing a module name,
> but it should probably not prevent startup.
>
> Best,
>
> Paul
More information about the jigsaw-dev
mailing list