diff src/share/vm/oops/constMethod.hpp @ 7983:24a91505f9d5

8006949: Update hotspot for MethodParameters format change 8006907: Hotspot should reject classfiles with multiple MethodParameters attributes Summary: Update to Hotspot's processing of MethodParameters attributes in classfiles Reviewed-by: coleenp, jrose
author emc
date Mon, 04 Feb 2013 13:05:32 -0500
parents 16fb9f942703
children 927a311d00f9
line wrap: on
line diff
--- a/src/share/vm/oops/constMethod.hpp	Sun Feb 03 17:12:31 2013 -0500
+++ b/src/share/vm/oops/constMethod.hpp	Mon Feb 04 13:05:32 2013 -0500
@@ -122,12 +122,7 @@
 class MethodParametersElement VALUE_OBJ_CLASS_SPEC {
  public:
   u2 name_cp_index;
-  // This has to happen, otherwise it will cause SIGBUS from a
-  // misaligned u4 on some architectures (ie SPARC)
-  // because MethodParametersElements are only aligned mod 2
-  // within the ConstMethod container  u2 flags_hi;
-  u2 flags_hi;
-  u2 flags_lo;
+  u2 flags;
 };
 
 class KlassSizeStats;