Details
-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b07
-
generic
-
generic
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152935 | OpenJDK6 | Sergey Malenkov | P3 | Closed | Not an Issue |
Description
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.
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.
Attachments
Issue Links
- backported by
-
JDK-2152935 Compiler should not issue "Sun Proprietary" warning for com.sun.java.swing.plaf
- Closed
- relates to
-
JDK-6915980 Do not issue build warnings for use of com.sun.java.swing.plaf.nimbus
- Resolved