summaryrefslogtreecommitdiff
path: root/dx/tests/009-method/small-class.txt
blob: 54fbc5fe71d0ba51f6b39db79237fd6352937bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# sample small-but-valid classfile
#

cafe babe  # magic
0000       # minor_version
002e       # major_version
0007       # constant_pool_count

#
# constant_pool
#
01 0005 "Small"            # 0001: utf8["Small"]
01 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"]
07 0001                    # 0003: class[Small]
07 0002                    # 0004: class[java/lang/Object]
01 0003 "foo"              # 0005: utf8["foo"]
01 0003 "()V"              # 0006: utf8["()V"]

0021  # access_flags
0003  # this_class
0004  # super_class
0000  # interfaces_count
0000  # fields_count

0001  # methods_count

# methods[0]
ffff  # access_flags
0005  # name
0006  # descriptor
0000  # attributes_count

0000  # attributes_count