JDK-8286371 : Avoid use of deprecated str[n]icmp
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2022-05-09
  • Updated: 2022-05-09
  • Resolved: 2022-05-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 19
19 masterFixed
Related Reports
Relates :  
Description
Windows has the functions stricmp and strnicmp (which are the same as POSIX strcasecmp and strncasecmp, resp.)  These functions are deprecated (as part of the general Windows deprecation of POSIX functions - see _CRT_NONSTDC_NO_DEPRECATE), with the suggested alternative being _stricmp and _strnicmp.  We should try to avoid using deprecated functions.

Comments
Changeset: fe6e0c0b Author: Kim Barrett <kbarrett@openjdk.org> Date: 2022-05-09 15:21:38 +0000 URL: https://git.openjdk.java.net/jdk/commit/fe6e0c0beba5065cca4e2e5d1a89125d5bd0dba6
09-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8590 Date: 2022-05-09 05:20:01 +0000
09-05-2022