Java class file: Difference between revisions

Content deleted Content added
Added missing entries to Constant Pool table, as per already present reference. It was slightly inconsistent to list the full range of class file versions, but not all tag types for all these versions.
Bimbo1989 (talk | contribs)
Line 96:
| rowspan="2" | 2 bytes
| rowspan="2" | u2
| rowspan="2" | major version number of the class file format being used.<br />J2SE 8 = 52 (0x34 hex),<br />J2SE 7 = 51 (0x33 hex),<br />J2SE 6.0 = 50 (0x32 hex),<br />J2SE 5.0 = 49 (0x31 hex),<br />JDK 1.4 = 48 (0x30 hex),<br />JDK 1.3 = 47 (0x2F hex),<br />JDK 1.2 = 46 (0x2E hex),<br />JDK 1.1 = 45 (0x2D hex).<br />For details of earlier version numbers see footnote 1 at [httphttps://docs.oracle.com/javase/specs/jvms/se5.0se6/html/ClassFileVMSpecTOC.doc.html#75883 The JavaTM Virtual Machine Specification 2nd edition]
|-
| 7