1#
2# sample small-but-valid classfile
3#
4
5cafe babe  # magic
60000       # minor_version
7002e       # major_version
80009       # constant_pool_count
9
10#
11# constant_pool
12#
1301 0005 "Small"            # 0001: utf8["Small"]
1401 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"]
1507 0001                    # 0003: class[Small]
1607 0002                    # 0004: class[java/lang/Object]
1701 0009 "Signature"        # 0005: utf8["Signature"]
1801 0001 "a"                # 0006: utf8["a"]
1901 0001 "I"                # 0007: utf8["I"]
2001 0004 "LYo;"             # 0008: utf8["Yo"]
21
220021  # access_flags
230003  # this_class
240004  # super_class
250000  # interfaces_count
26
270001  # fields_count
28
29# fields[0]
300001  # access_flags
310006  # "a"
320007  # "I"
330001  # attributes_count
34# attributes[0]
350005      # name
3600000002  # length
370008      # signature
38
390000  # methods_count
400000  # attributes_count
41