I am just trying to make Weld work in Java 9 (JavaSE + JPMS).
I use the following jars as automatic modules:
Is this right configuration? Or should I add/remove something.
Best regards, Alex
Понедельник, 18 сентября 2017, 12:41 +03:00 от Matej Novotny
Uhm, is there anything blocking you from placing it where you would in Java 8?
I don't think I have tried this combination (or I do not recall).
From the top of my head I don't know any JDK 9 limitation which would forbid to use
XML descriptors in this way.
I might be a bit rusty though; been a while since I played with Java 9.
Please do report back with how this works for you :)
----- Original Message -----
> From: "Alex Sviridov" < ooo_saturn7(a)mail.ru >
> To: "Matej Novotny" < manovotn(a)redhat.com >
> Sent: Monday, September 18, 2017 10:28:11 AM
> Subject: Re: [weld-dev] Weld and Java 9 JPMS
> Thank you for your answer. I will try. But where should I place beans.xml
> to make Weld read it if I use Java SE+ JPMS?
> Best regards, Alex
> >Понедельник, 18 сентября 2017, 8:10 +03:00 от Matej Novotny
> >< manovotn(a)redhat.com >:
> >Hi Alex
> >Back there we did some tests with earlier versions of Java 9 and eliminated
> >some crucial problems.
> >I think it should be possible to take *existing* app and run it on Java 9.
> >However, creating a whole new modular project might present some additional
> >Weld itself is not modularized (since it needs to run on Java 8), therefore
> >you would need to list some extra "requires" in module-info.java for
> >You also need to have reflection access allowed (we need to instantiate
> >proxies etc) but last time I checked, it was by default enabled in JDK 9 wi
> >th just warning showing up.
> >Other than that, it might just work.
> >To answer your other question - no, there is no tutorial, for there is no
> >special difference between Weld and many other projects in regard to JDK 9.
> >----- Original Message -----
> >> From: "Alex Sviridov" < ooo_saturn7(a)mail.ru >
> >> To: "weld-dev" < weld-dev(a)lists.jboss.org >
> >> Sent: Sunday, September 17, 2017 3:25:49 PM
> >> Subject: [weld-dev] Weld and Java 9 JPMS
> >> Hi all
> >> Could anyone provide information how weld works (if works) with Java 9
> >> JPMS?
> >> Is there any tutorial?
> >> Best regards, Alex
> >> _______________________________________________
> >> weld-dev mailing list
> >> weld-dev(a)lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/weld-dev
> Alex Sviridov