langtools/test/tools/javac/modules/T8159439/module-info.jcod
changeset 39361 cd0aca7db174
equal deleted inserted replaced
39184:3aa52182b3ad 39361:cd0aca7db174
       
     1 module mod {
       
     2   0xCAFEBABE;
       
     3   0; // minor version
       
     4   53; // version
       
     5   [] { // Constant Pool
       
     6     ; // first element is empty
       
     7     Utf8 "mod/module-info"; // #1    
       
     8     class #1; // #2    
       
     9     Utf8 "java/lang/Object"; // #3    
       
    10     class #3; // #4    
       
    11     Utf8 "java.base"; // #5    
       
    12     Utf8 "pkg"; // #6    
       
    13     Utf8 "Module"; // #7    
       
    14     Utf8 "Version"; // #8    
       
    15     Utf8 "6.0"; // #9    
       
    16   } // Constant Pool
       
    17 
       
    18   0x8000; // access
       
    19   #2;// this_cpx
       
    20   #4;// super_cpx
       
    21 
       
    22   [] { // Interfaces
       
    23   } // Interfaces
       
    24 
       
    25   [] { // fields
       
    26   } // fields
       
    27 
       
    28   [] { // methods
       
    29   } // methods
       
    30 
       
    31   [] { // Attributes
       
    32     Attr(#7) { // Module
       
    33       [] { // requires
       
    34         #5 0x8020;
       
    35       } // requires
       
    36 
       
    37       [] { // exports
       
    38         #6
       
    39         [] { // to
       
    40         }; // end to
       
    41       } // exports
       
    42 
       
    43       [] { // uses
       
    44       } // uses
       
    45 
       
    46       [] { // provides
       
    47       } // provides
       
    48 
       
    49     } // end Module
       
    50     ;
       
    51     Attr(#8) { // Version
       
    52       0x0009;
       
    53     } // end Version
       
    54   } // Attributes
       
    55 } // end module mod