Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 6u11
-
Fix Version/s: 6u13
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b01
-
CPU:generic
-
OS:generic
Description
java/awt/event/MouseEvent/EventTimeInFuture/EventTimeInFuture.java test fail with Compilation error, with message that TestDialog duplicate class
because of:
/*
@test 1.1 07/06/28
@bug 6451578
@library ../../../regtesthelpers
@build Sysout AbstractTest TestDialog Util
@summary A mouse listener method happens to process mouse events whose time is in the future.
@author andrei dmitriev : area=awt.event
@run main EventTimeInFuture
*/
import java.awt.*;
import java.awt.event.*;
import test.java.awt.regtesthelpers.Util;
import test.java.awt.regtesthelpers.AbstractTest;
import test.java.awt.regtesthelpers.Sysout;
In java/awt/regtesthelpers/
we have TestDialog.java with public class TestDialog, also we hava similar final class TestDialog in Sysout.java,
as solution I comment all source for TestDialog class in Sysout.java, after that test compiles.
because of:
/*
@test 1.1 07/06/28
@bug 6451578
@library ../../../regtesthelpers
@build Sysout AbstractTest TestDialog Util
@summary A mouse listener method happens to process mouse events whose time is in the future.
@author andrei dmitriev : area=awt.event
@run main EventTimeInFuture
*/
import java.awt.*;
import java.awt.event.*;
import test.java.awt.regtesthelpers.Util;
import test.java.awt.regtesthelpers.AbstractTest;
import test.java.awt.regtesthelpers.Sysout;
In java/awt/regtesthelpers/
we have TestDialog.java with public class TestDialog, also we hava similar final class TestDialog in Sysout.java,
as solution I comment all source for TestDialog class in Sysout.java, after that test compiles.
Attachments
Issue Links
- relates to
-
JDK-6831906 2 regression testcases give compilation error
-
- Closed
-