JDK-8234339 : replace JLI_StrTok in java_md_solinux.c
Type:Bug
Component:tools
Sub-Component:launcher
Affected Version:14
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2019-11-18
Updated:2020-10-30
Resolved:2019-11-22
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.
JLI_StrTok is only used in one function, so the define can be replaced, probably we should use the "safer" strtok_r (the MT safety might not be a big deal in the launcher however).
Comments
Ok, approved.
26-09-2020
@andrew, the jdk 14 patch applies to 8u with fuzz 1 and an offset after shuffling (just tried it in 8u) so my patch isn't needed.
08-06-2020
@stooke, does the 8u patch apply with just automated patch shuffling or not? If not, please post it for review. i don't see an existing thread on the 8u list, but the webrev link suggests it needs such a review.
08-06-2020
Fix request (13u)
Requesting backport to 13u for parity with 11u, applies cleanly.
26-05-2020
Fix Request (8u)
I would like to have this fix in jdk8 too, because the issue is there as well.
The patch applies with the usual path changes, and line number differences.
I have generated a modified patch that applies with no messages:
webrev: http://cr.openjdk.java.net/~stooke/webrevs/jdk-8234339-jdk8u/00/jdk.00/
20-03-2020
jdk11u fix request
I would like to have the fix in jdk11 too, because the issue is present there as well. The patch applies cleanly.