< prev index next >

test/hotspot/jtreg/runtime/valhalla/valuetypes/classfileparser/cfpTests.jcod

Print this page




1378           [1] { // Attributes
1379             Attr(#19, 14) { // LineNumberTable at 0x01A9
1380               [3] { // LineNumberTable
1381                 0  9; //  at 0x01B5
1382                 4  10; //  at 0x01B9
1383                 10  11; //  at 0x01BD
1384               }
1385             } // end LineNumberTable
1386           } // Attributes
1387         } // end Code
1388       } // Attributes
1389     } // Member
1390   } // methods
1391 
1392   [1] { // Attributes
1393     Attr(#23, 2) { // SourceFile at 0x01F8
1394       #24;
1395     } // end SourceFile
1396   } // Attributes
1397 } // end class CircStaticB
























































































1378           [1] { // Attributes
1379             Attr(#19, 14) { // LineNumberTable at 0x01A9
1380               [3] { // LineNumberTable
1381                 0  9; //  at 0x01B5
1382                 4  10; //  at 0x01B9
1383                 10  11; //  at 0x01BD
1384               }
1385             } // end LineNumberTable
1386           } // Attributes
1387         } // end Code
1388       } // Attributes
1389     } // Member
1390   } // methods
1391 
1392   [1] { // Attributes
1393     Attr(#23, 2) { // SourceFile at 0x01F8
1394       #24;
1395     } // end SourceFile
1396   } // Attributes
1397 } // end class CircStaticB
1398 
1399 
1400 // Test that a value type cannot be Cloneable.
1401 //
1402 // final __ByValue class ValueCloneable implements Cloneable {
1403 //    final int field;
1404 //    private ValueCloneable() { field = 0; }
1405 //}
1406 
1407 class ValueCloneable {
1408   0xCAFEBABE;
1409   0; // minor version
1410   55; // version
1411   [] { // Constant Pool
1412     ; // first element is empty
1413     Method #4 #14; // #1
1414     Field #3 #15; // #2
1415     class #16; // #3
1416     class #17; // #4
1417     class #18; // #5
1418     Utf8 "field"; // #6
1419     Utf8 "I"; // #7
1420     Utf8 "<init>"; // #8
1421     Utf8 "()V"; // #9
1422     Utf8 "Code"; // #10
1423     Utf8 "LineNumberTable"; // #11
1424     Utf8 "SourceFile"; // #12
1425     Utf8 "ValueCloneable.java"; // #13
1426     NameAndType #8 #9; // #14
1427     NameAndType #6 #7; // #15
1428     Utf8 "ValueCloneable"; // #16
1429     Utf8 "java/lang/Object"; // #17
1430     Utf8 "java/lang/Cloneable"; // #18
1431   } // Constant Pool
1432 
1433   0x0130; // access
1434   #3;// this_cpx
1435   #4;// super_cpx
1436 
1437   [] { // Interfaces
1438     #5;
1439   } // Interfaces
1440 
1441   [] { // fields
1442     { // Member
1443       0x0010; // access
1444       #6; // name_cpx
1445       #7; // sig_cpx
1446       [] { // Attributes
1447       } // Attributes
1448     } // Member
1449   } // fields
1450 
1451   [] { // methods
1452     { // Member
1453       0x0002; // access
1454       #8; // name_cpx
1455       #9; // sig_cpx
1456       [] { // Attributes
1457         Attr(#10) { // Code
1458           2; // max_stack
1459           1; // max_locals
1460           Bytes[]{
1461             0x2AB700012A03B500;
1462             0x02B1;
1463           }
1464           [] { // Traps
1465           } // end Traps
1466           [] { // Attributes
1467             Attr(#11) { // LineNumberTable
1468               [] { // LineNumberTable
1469                 0  4;
1470               }
1471             } // end LineNumberTable
1472           } // Attributes
1473         } // end Code
1474       } // Attributes
1475     } // Member
1476   } // methods
1477 
1478   [] { // Attributes
1479     Attr(#12) { // SourceFile
1480       #13;
1481     } // end SourceFile
1482   } // Attributes
1483 } // end class ValueCloneable
< prev index next >