I've created https://bugs.openjdk.java.net/browse/JDK-8029595 to track
some clean up in this area.
regards,
Sean.
On 04/12/2013 16:44, Mandy Chung wrote:
On 12/4/2013 7:51 AM, Alan Bateman wrote:
On 04/12/2013 15:44, Seán Coffey wrote:
Recent jdk8 builds seem to be more ambitious on the GC front. It
turns out that we've no strong reference for the Logger being
created in this testcase and it's collected before use.
Thanks Sean, I've seen this fail many times recently due to the
logger being GC'ed. The change looks good. At some point we should
check to see if there are other tests that might have similar issues.
Agree. We should probably consider having a test library method
creating a logger that hopefully the new tests can avoid running into
the same issue.
Mandy