-
Bug
-
Resolution: Won't Fix
-
P4
-
13
Instead of
-#ifndef SHARE_VM_OOPS_KLASS_HPP
-#define SHARE_VM_OOPS_KLASS_HPP
+#pragma once
...
-#endif // SHARE_VM_OOPS_KLASS_HPP
Since the repository consolidation, the #define names reflect the old directory structure and are wrong. Rather than fix these and continue with this error-prone method, use #pragma once, which all modern compilers support.
-#ifndef SHARE_VM_OOPS_KLASS_HPP
-#define SHARE_VM_OOPS_KLASS_HPP
+#pragma once
...
-#endif // SHARE_VM_OOPS_KLASS_HPP
Since the repository consolidation, the #define names reflect the old directory structure and are wrong. Rather than fix these and continue with this error-prone method, use #pragma once, which all modern compilers support.
- relates to
-
JDK-8216167 Update include guards to reflect correct directories
-
- Resolved
-