JDK-8145740 : Visual Studio pragmas should be guarded by #ifdef _MSC_VER
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-18
  • Updated: 2016-02-25
  • Resolved: 2016-01-27
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 9
9 b107Fixed
Related Reports
Relates :  
Description
Change "8074895: os::getenv is inadequate" introduced some MSVC pragmas in src/share/vm/utilities/growableArray.hpp to supress warnings during compilation.

Unfortunately these MSVC macros have been introduced unconditionally which produces warnings on other platforms.