JDK-6954621 : small error in 6948909 fix
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-05-21
  • Updated: 2010-11-04
  • Resolved: 2010-06-09
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 7 Other
7 b97Fixed OpenJDK6Fixed
Related Reports
Relates :  
Relates :  
Description
There is a small error in code changes for 6948909:

     1436 +                    if (i < len && bs[i+1] == '\n') i++;

Obviously, "i < len" cannot guarantee the existence of bs[i+1], it should be "i < len - 1".

This is not a serious bug because we've never supported "\r" as a line separator in manifest although it's specified as a newline in the doc.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c36617d0dae7
24-05-2010