jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java
changeset 16013 3569e84e7429
parent 15261 c5b882836677
child 16117 3c521ba54a81
equal deleted inserted replaced
16012:d10572eb1f48 16013:3569e84e7429
  1503     CPRefBand method_Signature_RS = method_attr_bands.newCPRefBand("method_Signature_RS", CONSTANT_Signature);
  1503     CPRefBand method_Signature_RS = method_attr_bands.newCPRefBand("method_Signature_RS", CONSTANT_Signature);
  1504     MultiBand method_metadata_bands = method_attr_bands.newMultiBand("(method_metadata_bands)", UNSIGNED5);
  1504     MultiBand method_metadata_bands = method_attr_bands.newMultiBand("(method_metadata_bands)", UNSIGNED5);
  1505     // band for predefine method parameters
  1505     // band for predefine method parameters
  1506     IntBand  method_MethodParameters_NB = method_attr_bands.newIntBand("method_MethodParameters_NB", BYTE1);
  1506     IntBand  method_MethodParameters_NB = method_attr_bands.newIntBand("method_MethodParameters_NB", BYTE1);
  1507     CPRefBand method_MethodParameters_name_RUN = method_attr_bands.newCPRefBand("method_MethodParameters_name_RUN", UNSIGNED5, CONSTANT_Utf8, NULL_IS_OK);
  1507     CPRefBand method_MethodParameters_name_RUN = method_attr_bands.newCPRefBand("method_MethodParameters_name_RUN", UNSIGNED5, CONSTANT_Utf8, NULL_IS_OK);
  1508     IntBand   method_MethodParameters_flag_I = method_attr_bands.newIntBand("method_MethodParameters_flag_I");
  1508     IntBand   method_MethodParameters_flag_FH = method_attr_bands.newIntBand("method_MethodParameters_flag_FH");
  1509 
  1509 
  1510     MultiBand class_attr_bands = class_bands.newMultiBand("(class_attr_bands)", UNSIGNED5);
  1510     MultiBand class_attr_bands = class_bands.newMultiBand("(class_attr_bands)", UNSIGNED5);
  1511     IntBand class_flags_hi = class_attr_bands.newIntBand("class_flags_hi");
  1511     IntBand class_flags_hi = class_attr_bands.newIntBand("class_flags_hi");
  1512     IntBand class_flags_lo = class_attr_bands.newIntBand("class_flags_lo");
  1512     IntBand class_flags_lo = class_attr_bands.newIntBand("class_flags_lo");
  1513     IntBand class_attr_count = class_attr_bands.newIntBand("class_attr_count");
  1513     IntBand class_attr_count = class_attr_bands.newIntBand("class_attr_count");
  1774                            "Exceptions", "NH[RCH]");
  1774                            "Exceptions", "NH[RCH]");
  1775         predefineAttribute(METHOD_ATTR_MethodParameters, ATTR_CONTEXT_METHOD,
  1775         predefineAttribute(METHOD_ATTR_MethodParameters, ATTR_CONTEXT_METHOD,
  1776                            new Band[]{
  1776                            new Band[]{
  1777                                 method_MethodParameters_NB,
  1777                                 method_MethodParameters_NB,
  1778                                 method_MethodParameters_name_RUN,
  1778                                 method_MethodParameters_name_RUN,
  1779                                 method_MethodParameters_flag_I
  1779                                 method_MethodParameters_flag_FH
  1780                            },
  1780                            },
  1781                            "MethodParameters", "NB[RUNHI]");
  1781                            "MethodParameters", "NB[RUNHFH]");
  1782         assert(attrCodeEmpty == Package.attrCodeEmpty);
  1782         assert(attrCodeEmpty == Package.attrCodeEmpty);
  1783         predefineAttribute(X_ATTR_Signature, ATTR_CONTEXT_METHOD,
  1783         predefineAttribute(X_ATTR_Signature, ATTR_CONTEXT_METHOD,
  1784                            new Band[] { method_Signature_RS },
  1784                            new Band[] { method_Signature_RS },
  1785                            "Signature", "RSH");
  1785                            "Signature", "RSH");
  1786         predefineAttribute(X_ATTR_Deprecated, ATTR_CONTEXT_METHOD, null,
  1786         predefineAttribute(X_ATTR_Deprecated, ATTR_CONTEXT_METHOD, null,