JDK-6814874 : StringQuoteUtil can throw NPE
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-03-09
  • Updated: 2010-09-08
  • Resolved: 2009-05-15
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
6u14 b04Fixed
Description
when running http://web-east.east/www/tests/1.6.0_05/6623233/draw3a.jnlp
with 6u14 you get an NPE inn StringQuoteUtil.
This is because all code that uses out arg chacks for null except last two uses in the final "if(innerQuote>=0) {" clause.

Comments
EVALUATION fix is just to check for null there as well.
09-03-2009