You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2016/04/01 18:38:13 UTC
Re: Project Jigsaw: The module system was integrated into JDK 9 and
is now available for testing in early-access, build 111.
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. 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.
This is likely to be the next block of work that I look at.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Project Jigsaw: The module system was integrated into JDK 9 and
is now available for testing in early-access, build 111.
Posted by Mark Thomas <ma...@apache.org>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Project Jigsaw: The module system was integrated into JDK 9 and is
now available for testing in early-access, build 111.
Posted by Christopher Schultz <ch...@christopherschultz.net>.
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?
> 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?
> This is likely to be the next block of work that I look at.
As always, thanks for the great work.
-chris