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#
1307 0003                    # 0001: class[Small]
1407 0004                    # 0002: class[java/lang/Object]
1501 0005 "Small"            # 0003: utf8["Small"]
1601 0010 "java/lang/Object" # 0004: utf8["java/lang/Object"]
1701 0005 "blort"            # 0005: utf8["blort"]
1801 0003 "()V"              # 0006: utf8["()V"]
1901 0004 "Code"             # 0007: utf8["Code"]
20
210001  # access_flags
220001  # this_class
230002  # super_class
240000  # interfaces_count
250000  # fields_count
260001  # methods_count
27
28# methods[0]
290001  # access_flags
300005  # name
310006  # descriptor
320001  # attributes_count
33# attributes[0]
340007      # name
350000000d  # length
360001      # max_stack
370001      # max_locals
3800000001  # code_length
39b1        # 0000: return
400000      # exception_table_length
410000      # attributes_count
42
430000  # attributes_count
44