diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-06-05 06:32:42 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-06-05 06:32:42 -0700 |
commit | 3073ab4f0a8b32440f57b4c44d6c633fcc71eaac (patch) | |
tree | aabedd5271f06ff92a2ec44cd5fb5ceb3c48db88 /test/files/run/repl-javap-app.check | |
parent | 45732767da366a476611b9cb4e3417b1aeb74377 (diff) | |
download | scala-3073ab4f0a8b32440f57b4c44d6c633fcc71eaac.tar.gz scala-3073ab4f0a8b32440f57b4c44d6c633fcc71eaac.tar.bz2 scala-3073ab4f0a8b32440f57b4c44d6c633fcc71eaac.zip |
Java 8 support for run/repl-javap-app.check
Just adding the java 8 output.
No attempt to finesse anything.
But the partest mechanism does still need auto-update of these
conditional check files, plus expression evaluation of the condition.
Diffstat (limited to 'test/files/run/repl-javap-app.check')
-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> |