[jbosstools-issues] [JBoss JIRA] (JBDS-2293) deprecation warning in installer build - warning: sun.swing.DefaultLookup is Sun proprietary API and may be removed in a future release
Nick Boldt (JIRA)
jira-events at lists.jboss.org
Tue Sep 25 17:10:34 EDT 2012
Nick Boldt created JBDS-2293:
--------------------------------
Summary: deprecation warning in installer build - warning: sun.swing.DefaultLookup is Sun proprietary API and may be removed in a future release
Key: JBDS-2293
URL: https://issues.jboss.org/browse/JBDS-2293
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: installer
Affects Versions: 6.0.0.Beta1
Reporter: Nick Boldt
Assignee: Denis Golovin
{code}
cd ~/trunk/product
mvn clean install
...
buildcustompanels:
[echo] Building panels ...
[echo] Build properties written to /home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/target/../../jbds-echoproperties.txt
[mkdir] Created dir: /home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/target/classes
[mkdir] Created dir: /home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/target/izpack-panels
[unjar] Expanding: /home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/target/IzPack-4.3.4/lib/standalone-compiler.jar into /home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/target/izpack-panels
[javac] Compiling 29 source files to /home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/target/classes
/home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/src/panels/com/jboss/jbds/installer/ErrorUtils.java:21: warning: sun.swing.DefaultLookup is Sun proprietary API and may be removed in a future release
import sun.swing.DefaultLookup;
^
/home/nboldt/eclipse/workspace-jboss/devstudio_trunk/product/installer/src/panels/com/jboss/jbds/installer/ErrorUtils.java:32: warning: sun.swing.DefaultLookup is Sun proprietary API and may be removed in a future release
Icon icon = (Icon)DefaultLookup.get(label, label.getUI(), "OptionPane.errorIcon");
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 warnings
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list