JDK-6658416 : cannot launch java web start application with 1.4 JRE
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-02-01
  • Updated: 2010-09-17
  • Resolved: 2008-02-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b12Fixed 7Fixed
Description
regression introduced by 6594219: Plugin loads Swing classes

java.lang.NoSuchMethodError: java.lang.String.contains(Ljava/lang/CharSequence;)
Z
       at com.sun.deploy.util.DeployUIManager.getSystemLookAndFeelClassName(Unk
nown Source)
       at com.sun.deploy.util.DeployUIManager.setLookAndFeel(Unknown Source)
       at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
       at com.sun.javaws.Main$1.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source) 

Should not use String.contains in DeployUIManager.getSystemLookAndFeelClassName; String.contains only exists since 1.5

Comments
EVALUATION use String.indexOf instead
01-02-2008