Best to start a separate thread about this, it's not related to the multi-release JAR question here. Just start a new thread describing the problem and point to the GitHub repo so someone can reproduce the problem.
Gj On Tue, Oct 2, 2018 at 5:37 PM Emma Atkinson <emma.atkins...@gmail.com> wrote: > Geertjan, > After a few false starts I have uploaded the simple test case for using a > MR-JAR file as a module. The Git history shows it being used on the > classpath fist then modified to use the modulepath. > > https://github.com/cosmiczoo/Log4j2TestCase > > Emma > > > > > On Tue, 2 Oct 2018 at 15:15, Patrik Karlström <pat...@trixon.se> wrote: > >> Thanks for that clarification! >> >> Den mån 1 okt. 2018 kl 15:03 skrev Geertjan Wielenga >> <geertjan.wiele...@googlemail.com.invalid>: >> >>> Apache NetBeans has support for reading multi-release JARs. They can >>> appear on the classpath (modulepath) and the correct types are used, though >>> note there is (currently) no support for creating them. >>> >>> Below is where the reading of multi-release JARs is implemented: >>> >>> >>> https://github.com/apache/incubator-netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingFileManager.java >>> >>> Gj >>> >>> >>> >>> On Sun, Sep 30, 2018 at 10:44 AM Patrik Karlström <pat...@trixon.se> >>> wrote: >>> >>>> Yes, that's where I got it from. :) Attended Nicolai's talk at jdays >>>> this week and later found the netbeans related info above that got me >>>> thinking of what I just could not find in the IDE. >>>> I'll poke around in my pom then, thanks. >>>> >>>> >>>> Den sön 30 sep. 2018 kl 10:08 skrev Geertjan Wielenga >>>> <geertjan.wiele...@googlemail.com.invalid>: >>>> >>>>> There's nothing in there specifically about NetBeans, but about Maven >>>>> -- I don't believe there's anything special done in this area in NetBeans >>>>> itself, but that the support for this feature can be used via Maven. >>>>> >>>>> Gj >>>>> >>>>> On Sun, Sep 30, 2018 at 9:56 AM Geertjan Wielenga < >>>>> geertjan.wiele...@googlemail.com> wrote: >>>>> >>>>>> This should help: >>>>>> >>>>>> >>>>>> https://blog.codefx.org/tools/multi-release-jars-multiple-java-versions/ >>>>>> >>>>>> Gj >>>>>> >>>>>> On Sat, Sep 29, 2018 at 6:26 PM Patrik Karlström <pat...@trixon.se> >>>>>> wrote: >>>>>> >>>>>>> I just found out about Multi Release JAR files and began to look >>>>>>> into it on my Apache NetBeans 9 installation. >>>>>>> >>>>>>> At http://wiki.netbeans.org/NetBeans_9 one can read >>>>>>> >>>>>>> >>>>>>> NetBens 9 will be released from Apache Software Foundation as new >>>>>>> Apache project. NetBeans is being donated to ASG by Oracle. NetBeans 9 >>>>>>> main >>>>>>> theme will be to support this upcoming Java SE 9 release. >>>>>>> >>>>>>> - ... >>>>>>> - *Multi Release JAR files to be handled properly by NB Java >>>>>>> Support* >>>>>>> >>>>>>> Did support for Multi Release JAR files made it to ANB9 and if so, >>>>>>> how and where do find it/I set it up for my projects? Or was it a goal >>>>>>> for >>>>>>> NetBeans itself and I should handle it manually in my poms? >>>>>>> >>>>>>> /Patrik >>>>>>> >>>>>>