JDK-8246109 : Remove unneeded undef CS
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-28
  • Updated: 2023-08-25
  • Resolved: 2020-05-29
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 15
15 b26Fixed
Related Reports
Relates :  
Description
In src/hotspot/share/prims/methodHandles.cpp one can find the following code:

#undef CS  // Solaris builds complain

I chose not to remove it as part of the Solaris/SPARC removal (JDK-8241787) the the fear of breaking some other platform and making the already-challenging work even harder.

I have now verified that removing the line at least works for all the Oracle builds.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/17b3c4593a88 User: mikael Date: 2020-05-29 00:26:16 +0000
29-05-2020