JDK-7043564 : compile warning and copyright fixes
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2011-05-10
  • Updated: 2011-07-29
  • Resolved: 2011-07-18
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 7 Other
7Fixed hs21Fixed
Description
Compilation fails with:
os_linux.cpp: In static member function ���static bool os::Linux::hugetlbfs_sanity_check(bool, size_t)���:
os_linux.cpp:2853:43: error: use of assignment suppression and length modifier together in gnu_scanf format

The solution is to remove the length modifier.

Also, copyrights needed to be fixed in a couple of files.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/97b64f73103b
13-05-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/97b64f73103b
10-05-2011