format « class file « Java I/O Q&A





1. Why is the first four bytes of Java class file format is CAFEBABE?    stackoverflow.com

Why is the first four bytes of Java class file format is CAFEBABE? Who named it? Your views/guesses? Source: IBM Java Programing Dynamics

2. Java class file format and the constant pool    stackoverflow.com

im a little confused with the tag values of the constant pool in java class files as described here. it seems at the end of the cp table theres a ...

3. ConstantPool in .class file format    coderanch.com

Hello all, I am writing a .class file parser (for fun) and I'm going through the specification for the class file format. Here's my question: So the ConstantPool spec has a list of elements. Some of the elements within the constant pool refer to other elements inside the pool. Can I assume that if the nth element in the constant pool ...

4. Java card - Unsupported class file format    forums.oracle.com

5. Clarification in J2SE 5 class file format in VM spec    forums.oracle.com

Hello all, If one looks at the Table 4.1 in Section 4.1 of the class file format ( http://java.sun.com/docs/books/jvms/second_edition/ClassFileFormat-Java5.pdf), atleast one point seems not clear. The notes under that table says : (Statement 1:) "If the ACC_INTERFACE flag of this class file is set, its ACC_ABSTRACT flag must also be set (2.13.1) and its ACC_PUBLIC flag may be set. Such a ...