Java 10 FYI

182 views
Skip to first unread message

javadevmtl

unread,
Apr 18, 2018, 12:09:48 PM4/18/18
to vert.x
Tested some of our vertx apps with Java seem to run fine so far. Only some Netty warnings which I assume will eventually get fixed...

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/opt/merchant-api/lib/merchant-api-java10-fat.jar) to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

Leonardo Gomes

unread,
Apr 18, 2018, 5:28:17 PM4/18/18
to ve...@googlegroups.com
This should be fixed on Netty 4.1.21.

Not sure what's in between those versions, but indeed it would be nice to have these warnings fixed :)



On Wed, Apr 18, 2018 at 6:09 PM, javadevmtl <java.d...@gmail.com> wrote:
Tested some of our vertx apps with Java seem to run fine so far. Only some Netty warnings which I assume will eventually get fixed...

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/opt/merchant-api/lib/merchant-api-java10-fat.jar) to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a7fe82b6-d2a8-42a8-bd11-35723ca50c07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julien Viet

unread,
Apr 20, 2018, 2:06:30 PM4/20/18
to ve...@googlegroups.com
we're planning to upgrade to 4.1.21.Final, there is an open issue for it.

To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.

Marius Ileana

unread,
May 3, 2018, 4:41:46 AM5/3/18
to vert.x
Hi Julien,

I assume that the issue you referred to is this (#2390), although not specifically related to a release.

Besides this, is there any mention about Vert.x support of newer Java versions (currently 10)?
Still continuing the drifting from the main topic of this thread :-), I noticed that Starter did not include version 3.5.1.

Thanks!


On Friday, April 20, 2018 at 9:06:30 PM UTC+3, Julien Viet wrote:
we're planning to upgrade to 4.1.21.Final, there is an open issue for it.
On 18 Apr 2018, at 23:28, Leonardo Gomes <leonardo...@gmail.com> wrote:

This should be fixed on Netty 4.1.21.

Not sure what's in between those versions, but indeed it would be nice to have these warnings fixed :)


On Wed, Apr 18, 2018 at 6:09 PM, javadevmtl <java.d...@gmail.com> wrote:
Tested some of our vertx apps with Java seem to run fine so far. Only some Netty warnings which I assume will eventually get fixed...

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/opt/merchant-api/lib/merchant-api-java10-fat.jar) to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a7fe82b6-d2a8-42a8-bd11-35723ca50c07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julien Viet

unread,
May 3, 2018, 4:49:21 AM5/3/18
to ve...@googlegroups.com

On 3 May 2018, at 10:41, Marius Ileana <marius...@gmail.com> wrote:

Hi Julien,

I assume that the issue you referred to is this (#2390), although not specifically related to a release.

Besides this, is there any mention about Vert.x support of newer Java versions (currently 10)?

Currently we only test with Java 9 because we have a blocker with Java 10 (MVEL templates).

We plan actually to get rid of MVEL and replace with pure Java code in 3.6.0 (contributions welcome :-) ) so we can test with Java 10 and beyond, this is high priority.

3.5.2 will continue with Netty 4.1.19.Final because there is no corresponding grpc version that ships with more recent Netty

3.6.0 will likely have its Netty version upgraded as soon as grpc releases it.

I would like to have  the grpc transport reimplemented with Vert.x HTTP/2 support to get rid of this Netty coupling (contributions welcome again) which is ok-ish (as they release often) but it would be better without.

Still continuing the drifting from the main topic of this thread :-), I noticed that Starter did not include version 3.5.1.

Daniel is supposed to contribute to the starter changes that will include support for 3.5.1

Marius Ileana

unread,
May 3, 2018, 5:04:00 AM5/3/18
to ve...@googlegroups.com
Hi Julien,

I hope that my journey into Vert.x world will continue a happy path and I will be happy to contribute and help this wonderful project.

Thank you for the quick and thorough feedback!

To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Marius Ileana
Reply all
Reply to author
Forward
0 new messages