blob: b7e806cc0b6ba09f91cda6b1424390c5f24dd67b (
plain) (
blame)
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
35
36
37
38
39
40
|
#partest java6
Welcome to Scala
Type in expressions to have them evaluated.
Type :help for more information.
scala> :javap -app MyApp$
public final void delayedEndpoint$MyApp$1();
Code:
Stack=2, Locals=1, Args_size=1
0: getstatic #XX; //Field scala/Console$.MODULE$:Lscala/Console$;
3: ldc #XX; //String Hello, delayed world.
5: invokevirtual #XX; //Method scala/Console$.println:(Ljava/lang/Object;)V
8: return
LocalVariableTable:
Start Length Slot Name Signature
0 9 0 this LMyApp$;
scala>
#partest !java6
Welcome to Scala
Type in expressions to have them evaluated.
Type :help for more information.
scala> :javap -app MyApp$
public final void delayedEndpoint$MyApp$1();
flags: ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
0: getstatic #XX // Field scala/Console$.MODULE$:Lscala/Console$;
3: ldc #XX // String Hello, delayed world.
5: invokevirtual #XX // Method scala/Console$.println:(Ljava/lang/Object;)V
8: return
LocalVariableTable:
Start Length Slot Name Signature
0 9 0 this LMyApp$;
LineNumberTable:
line 5: 0
}
scala>
|