diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/repl-javap-app.check | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/test/files/run/repl-javap-app.check b/test/files/run/repl-javap-app.check index b7e806cc0b..1136b415d7 100644 --- a/test/files/run/repl-javap-app.check +++ b/test/files/run/repl-javap-app.check @@ -16,7 +16,7 @@ public final void delayedEndpoint$MyApp$1(); 0 9 0 this LMyApp$; scala> -#partest !java6 +#partest java7 Welcome to Scala Type in expressions to have them evaluated. Type :help for more information. @@ -38,3 +38,26 @@ scala> :javap -app MyApp$ } scala> +#partest java8 +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(); + descriptor: ()V + 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> |