JDK-6195678 : REGRESSION: java/awt/Canvas/NoEventsLeakTest/NoEventsLeakTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-11-16
  • Updated: 2007-10-16
  • Resolved: 2004-11-16
Related Reports
Duplicate :  
Description
JDK        	    : 1.6.0 b12
Platform[s]         : Fails On:  Solaris Sparc 10 and Redhat AS 3.0
Failing Test [s]    : java/awt/Canvas/NoEventsLeakTest/NoEventsLeakTest.java


    Test source location:
    =====================
/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b12/ws/j2se/test/java/awt/Canvas/NoEventsLeakTest/NoEventsLeakTest.java


    jtr file location:
    ==================
file:///net/cady/export/dtf/unified/results/mustang/b11/regression/Sparc10-reg/workDir/java/awt/Canvas/NoEventsLeakTest/NoEventsLeakTest.jtr

    How to reproduce:
    ====================
    - Set JAVA_HOME to /net/koori/onestop/jdk/6.0/latest/binaries/solaris-sparc
    - cd /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b12/ws/j2se/test/java/awt/Canvas/NoEventsLeakTest
    - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg -r:/tmp -w:/tmp .


    Test output:
    =============
----------System.err:(15/842)----------
java.lang.RuntimeException: Memory leak in Component
        at NoEventsLeakTest.fail(NoEventsLeakTest.java:219)
        at NoEventsLeakTest.init(NoEventsLeakTest.java:85)
        at NoEventsLeakTest.main(NoEventsLeakTest.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
        at java.lang.Thread.run(Thread.java:595)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Memory leak in Component
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Memory leak in Component
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Memory leak in Component


    Specific Machine Info:
    =====================
    Host Name:  huangho
                              Solaris 10 s10_70 SPARC
           Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 22 October 2004
###@###.### 2004-11-16 00:55:16 GMT

Comments
EVALUATION A regression of #4952802 and a duplicate of 6174747: I've run the test on a workspace with the fix patched and without it. ###@###.### 2004-11-16 10:29:33 GMT
16-11-2004