1#
2# sample small-but-valid classfile
3#
4
5cafe babe  # magic
60000       # minor_version
7002e       # major_version
80008       # 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 000a "Deprecated"       # 0005: utf8["Deprecated"]
1801 0001 "a"                # 0006: utf8["a"]
1901 0001 "I"                # 0007: utf8["I"]
20
210021  # access_flags
220003  # this_class
230004  # super_class
240000  # interfaces_count
25
260001  # fields_count
27
28# fields[0]
290001  # access_flags
300006  # "a"
310007  # "I"
320001  # attributes_count
33# attributes[0]
340005      # name
3500000000  # length
36
370000  # methods_count
380000  # attributes_count
39