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

Compiler should not issue "Sun Proprietary" warning for com.sun.java.swing.plaf

XMLWordPrintable

    • 6
    • b07
    • generic
    • generic
    • Verified

        Example warning:

        Foo.java:133: warning: com.sun.java.swing.plaf.windows.WindowsLookAndFeel is Sun proprietary API and may be removed in a future release

        While the reason behind this warning is understood, Swing has always considered com.sun.java.swing.plaf classes to be public. As such, they should be excluded from the warning. There are legitimate uses for using these classes directly.

        This should be fixed for Mustang.

              shickeysunw Shannon Hickey (Inactive)
              shickeysunw Shannon Hickey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: