Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [metro-dev] Help with fork modification to metro-jax-ws



On 9/14/20 5:43 PM, Nancy Bosecker wrote:

After looking at your diagram, I'm still not clear on which .jar that I should be using.
I'm replacing jaxws-rt-2.3.2.jar in my build, and I tried these:

- jaxws-ri\bundle\jaxws-rt\target\jaxws-rt-2.4.0-SNAPSHOT.jar [this seems most likely] - jaxws-ri\runtime\rt\target\rt-2.4.0-SNAPSHOT.jar [this one is probably internal per your diagram]

jaxws-rt-2.4.0-SNAPSHOT.jar is the artifact you should be using


Neither fix my problem locally - either because my code is incorrect, or the modifications I added are not being applied. I'm running under JDK11 but still not clear how the multi-release .jar determines that at runtime.

this is responsibility of the JDK. Are you running your tests from command line? Ant (1.10.7+ version is required)? Maven? In any case, you can pass '-Djdk.util.jar.enableMultiRelease=true' or '-Djdk.util.jar.enableMultiRelease=false' to let the JVM treat all jars as multi-release jars[1]

thanks,
--lukas

[1]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/jar/JarFile.html


Thanks,
Nancy



_______________________________________________
metro-dev mailing list
metro-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/metro-dev__;!!GqivPVa7Brio!MMCSH75GTj_549rA_uuxnYa2V800EZlcJyEMITfWuAFYrY75PJKpRMTj_bF0HAhx6Rg$



Back to the top