1# 2# sample small-but-valid classfile 3# 4 5cafe babe # magic 60000 # minor_version 7002e # major_version 8000a # 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 000a "Exceptions" # 0007: utf8["Exceptions"] 2001 000f "java/lang/Error" # 0008: utf8["java/lang/Error"] 2107 0008 # 0009: class[java/lang/Error] 22 230001 # access_flags 240001 # this_class 250002 # super_class 260000 # interfaces_count 270000 # fields_count 280001 # methods_count 29 30# methods[0] 310401 # access_flags 320005 # name 330006 # descriptor 340001 # attributes_count 35# attributes[0] 360007 # name 3700000004 # length 380001 # number_of_exceptions 390009 # class[java/lang/Error] 40 410000 # attributes_count 42