-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b64
-
generic
-
generic
javax/swing/border/Test4856008.java regression test fails due to sun.tools.jconsole.BorderedComponent package not found in the JDK& pit build 60.
For reproduce the issue please run the attached java file.
JDK Info
========
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_06_01_0
1_18-b00)
Java HotSpot(TM) Client VM (build 16.0-b03, mixed mode, sharing)
Bug Details
============
Test4856008.java:61: warning: sun.swing.plaf.synth.SynthFileChooserUI is Sun pro
prietary API and may be removed in a future release
import sun.swing.plaf.synth.SynthFileChooserUI;
^
Test4856008.java:62: package sun.tools.jconsole does not exist
import sun.tools.jconsole.BorderedComponent;
^
Test4856008.java:211: warning: sun.swing.plaf.synth.SynthFileChooserUI is Sun pr
oprietary API and may be removed in a future release
private static class SynthFileChooser extends SynthFileChooserUI {
^
Test4856008.java:187: cannot find symbol
JComponent component = new BorderedComponent("4856008", null, true);
^
symbol: class BorderedComponent
location: class Test4856008
Test4856008.java:211: Test4856008.SynthFileChooser is not abstract and does not
override abstract method createActionMap() in sun.swing.plaf.synth.SynthFileChoo
serUI
private static class SynthFileChooser extends SynthFileChooserUI {
^
3 errors
2 warnings
For reproduce the issue please run the attached java file.
JDK Info
========
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_06_01_0
1_18-b00)
Java HotSpot(TM) Client VM (build 16.0-b03, mixed mode, sharing)
Bug Details
============
Test4856008.java:61: warning: sun.swing.plaf.synth.SynthFileChooserUI is Sun pro
prietary API and may be removed in a future release
import sun.swing.plaf.synth.SynthFileChooserUI;
^
Test4856008.java:62: package sun.tools.jconsole does not exist
import sun.tools.jconsole.BorderedComponent;
^
Test4856008.java:211: warning: sun.swing.plaf.synth.SynthFileChooserUI is Sun pr
oprietary API and may be removed in a future release
private static class SynthFileChooser extends SynthFileChooserUI {
^
Test4856008.java:187: cannot find symbol
JComponent component = new BorderedComponent("4856008", null, true);
^
symbol: class BorderedComponent
location: class Test4856008
Test4856008.java:211: Test4856008.SynthFileChooser is not abstract and does not
override abstract method createActionMap() in sun.swing.plaf.synth.SynthFileChoo
serUI
private static class SynthFileChooser extends SynthFileChooserUI {
^
3 errors
2 warnings