JDK-6888953 : some calls to function-like macros are missing semicolons
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs17
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-10-07
  • Updated: 2012-10-08
  • Resolved: 2010-05-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 6 JDK 7 Other
6u21pFixed 7Fixed hs18Fixed
Related Reports
Relates :  
Description
Some calls to assert(), guarantee(), ShouldNotReachHere(), etc., do not have a trailing semicolon.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/cff162798819
29-04-2010

SUGGESTED FIX Add semicolons. See attached semicolon.patch.zip.
07-10-2009

EVALUATION The missing semicolons look slightly strange but are not a problem given the current definitions of these macros. However, future changes to add formatted arguments to assert(), fatal(), etc., will require the semicolons.
07-10-2009