diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-06-10 11:57:24 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-06-10 11:57:24 +0200 |
commit | 95278dbdb828b4f8b786740b5186edbb4489096f (patch) | |
tree | 33bb02001ad82d0c03e440e3357d3777f3c6f637 /test/files | |
parent | e1126fdc496a880014825648844f22895b37cb7c (diff) | |
parent | 3073ab4f0a8b32440f57b4c44d6c633fcc71eaac (diff) | |
download | scala-95278dbdb828b4f8b786740b5186edbb4489096f.tar.gz scala-95278dbdb828b4f8b786740b5186edbb4489096f.tar.bz2 scala-95278dbdb828b4f8b786740b5186edbb4489096f.zip |
Merge pull request #3818 from som-snytt/issue/repl-javap-app8
Java 8 support for run/repl-javap-app.check
Diffstat (limited to 'test/files')
-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> |