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 000c "InnerClasses"     # 0005: utf8["InnerClasses"]
1801 0005 "Zorch"            # 0006: utf8["Zorch"]
1907 0006                    # 0007: class[Zorch]
20
210021  # access_flags
220003  # this_class
230004  # super_class
240000  # interfaces_count
250000  # fields_count
260000  # methods_count
27
280001  # attributes_count
29
30# attribute[0]
310005      # name
3200000022  # length
330004      # number_of_classes
340003 0000 0000 0001  # Small / null / null / public
350003 0000 0001 0002  # Small / null / "Small" / private
360003 0007 0000 0004  # Small / Zorch / null / protected
370007 0003 0006 ffff  # Zorch / Small / "Zorch" / all-bits
38