langtools/test/tools/javac/modules/T8159439/module-info.jcod
author vromero
Mon, 27 Jun 2016 12:29:41 -0700
changeset 39361 cd0aca7db174
permissions -rw-r--r--
8159439: javac throws NPE with Module attribute and super_class != 0 Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39361
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     1
module mod {
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     2
  0xCAFEBABE;
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     3
  0; // minor version
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     4
  53; // version
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     5
  [] { // Constant Pool
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     6
    ; // first element is empty
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     7
    Utf8 "mod/module-info"; // #1    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     8
    class #1; // #2    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     9
    Utf8 "java/lang/Object"; // #3    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    10
    class #3; // #4    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    11
    Utf8 "java.base"; // #5    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    12
    Utf8 "pkg"; // #6    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    13
    Utf8 "Module"; // #7    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    14
    Utf8 "Version"; // #8    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    15
    Utf8 "6.0"; // #9    
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    16
  } // Constant Pool
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    17
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    18
  0x8000; // access
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    19
  #2;// this_cpx
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    20
  #4;// super_cpx
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    21
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    22
  [] { // Interfaces
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    23
  } // Interfaces
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    24
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    25
  [] { // fields
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    26
  } // fields
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    27
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    28
  [] { // methods
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    29
  } // methods
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    30
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    31
  [] { // Attributes
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    32
    Attr(#7) { // Module
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    33
      [] { // requires
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    34
        #5 0x8020;
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    35
      } // requires
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    36
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    37
      [] { // exports
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    38
        #6
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    39
        [] { // to
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    40
        }; // end to
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    41
      } // exports
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    42
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    43
      [] { // uses
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    44
      } // uses
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    45
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    46
      [] { // provides
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    47
      } // provides
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    48
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    49
    } // end Module
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    50
    ;
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    51
    Attr(#8) { // Version
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    52
      0x0009;
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    53
    } // end Version
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    54
  } // Attributes
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
    55
} // end module mod