• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# sample small-but-valid classfile
3#
4
5cafe babe  # magic
60000       # minor_version
70031       # major_version
80005       # 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]
17
18ffff  # access_flags
190003  # this_class
200004  # super_class
210000  # interfaces_count
220000  # fields_count
230000  # methods_count
24
250000  # attributes_count
26