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.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to