Re: Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread Romain Manni-Bucau
Until it exists .class were only in / so algorithm was often "scan everything which is ending with a .class". mjar broke these algorithms :(. That said, major bump does not solve the fact you will break people, or do you plan to maintain all versions in parallel just for that? jpms classifier reall

Re: Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread John Patrick
So spring and other scanners scan classes under /META-INF/versions/... i was unaware of that. So probably need a major version bump then, so it indicates a major change, so that consumers treat it as such and test it. On Sun, 1 Mar 2020 at 17:11, Romain Manni-Bucau wrote: > > Le dim. 1 mars 2020

Re: Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread Romain Manni-Bucau
Le dim. 1 mars 2020 à 18:00, John Patrick a écrit : > Romain, The 4 commons projects I'm referring to already have > Automatic-Module-Name in the Manifest, if that is what you mean by > "explicit module name in the manifest". > > I've been playing around with jdk 1.8, 9, 10, 11, 12, 13 and 14, fo

Re: Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread John Patrick
Romain, The 4 commons projects I'm referring to already have Automatic-Module-Name in the Manifest, if that is what you mean by "explicit module name in the manifest". I've been playing around with jdk 1.8, 9, 10, 11, 12, 13 and 14, for about 18 months and not seen the issue you described about ne

Re: Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread Peter Verhas
I used Jabel, and Maven profiles to generate jvm8 and also jvm11 jars in the Java::Geci project. I also wrote a document about what, why, and how I did it: https://javax0.wordpress.com/2019/11/06/supporting-java-8/ It may help. Peter On Sun, 1 Mar 2020 at 12:38, Romain Manni-Bucau wrote: >

Re: Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread Romain Manni-Bucau
Hi John, Didnt check on java 11 ga but in early versions module-info was required to be at the root of the jar even if overriden for some version ( http://openjdk.java.net/jeps/238) so it ends up in the fact that some java 8 apps will be broken by this addition and that only doing it in a mjar wil

Java Modules Codec, Collections, IO and Lang

2020-03-01 Thread John Patrick
I'm wanting to correctly use Collections and Lang as Java Modules. Looking at the dependencies, I'll need to tackle all four projects. I'm planning on doing the following as if I'm touching the projects I might as well help out; 1) spring clean .gitignore, each project has different list, some do