Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6848364

javax/swing/border/Test4856008.java regression test fails due to BorderedComponent package not found

    Details

    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              malenkov Sergey Malenkov (Inactive)
              Reporter:
              vthotasunw Vinay Thota (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: