JDK-8073188 : Remove disable of old MSVC++ warning C4786
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows
  • CPU: generic
  • Submitted: 2015-02-16
  • Updated: 2019-09-07
  • Resolved: 2019-09-07
Related Reports
Relates :  
Relates :  
Description
parNewGeneration.cpp contains a WIN32 conditionalized #pragma to disable C4786: identifier was truncated to '255' characters in the debug information.  This warning appears to be specific to old versions of MSVC++ (version 6.0 and earlier); see http://support.microsoft.com/kb/195386

MSVC++ 6.0 is long dead.  The #pragma to disable the warning can be removed.

Comments
Not worth it due to JDK-8229049 - see discussion at https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-September/026975.html
07-09-2019