tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Project Jigsaw: The module system was integrated into JDK 9 and is now available for testing in early-access, build 111.
Date Thu, 07 Apr 2016 22:19:54 GMT
On 07/04/2016 22:14, Christopher Schultz wrote:
> Mark,
> On 4/1/16 12:38 PM, Mark Thomas wrote:
>> I ran the Tomcat 9 unit tests and there are a whole bunch of failures
>> (everything passed with the previous ea release). It looks like some of
>> our memory leak prevention tricks no longer work.
> Can you define "don't work"? Do they actively cause errors (e.g.
> SecurityManager, NoSuchMethorError) or do they simply fail to prevent
> memory leaks?

They actively fail. I forget the exact error but it was something like
"code in module sun.* can't be accessed from module java.*". It looked
like the Java 9 modularity was blocking the reflection tricks.

>> That probably means we
>> either need to find a way around the new Java 9 restrictions or we need
>> to raise bugs against the JRE to get them fixed once and for all.
> Might we need an IS_JAVA_9_OR_LATER case in JreMemoryLeakPreventionListener?

Quite possibly.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message