This page is no longer maintained — Please continue to the home page at www.scala-lang.org

:javap in REPL power mode

1 reply
Chris Marshall
Joined: 2009-06-17,
User offline. Last seen 44 weeks 3 days ago.
Trying Paul's power mode in the REPL:
Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) Server VM, Java 1.6.0_18).Type in expressions to have them evaluated.Type :help for more information.
scala> :power** Power User mode enabled - BEEP BOOP WHIR **** scala.tools.nsc._ has been imported      **** global._ and definitions._ also imported **** New vals! Try repl, intp, global, power  **** New cmds! :help to discover them         **** New defs! Type power.<tab> to reveal     **
scala> class Bippy { def foo(l : List[Int], f : Int => Double) : List[Double] = l map f }defined class Bippy
scala> :javap Bippy:javap unavailable on this platform.

That was running on solaris; I tried on Windows also with the same results. Do I need to use linux or something? And why is it platform-specific anyway? (Or is this a problem with the scala version I'm using)
Chris
gkossakowski
Joined: 2010-03-11,
User offline. Last seen 33 weeks 5 days ago.
Re: :javap in REPL power mode
2011/6/6 Chris Marshall <oxbow_lakes [at] hotmail [dot] com>
Trying Paul's power mode in the REPL:
scala> :javap Bippy :javap unavailable on this platform.

That was running on solaris; I tried on Windows also with the same results. Do I need to use linux or something? And why is it platform-specific anyway? (Or is this a problem with the scala version I'm using)

https://groups.google.com/d/topic/scala-user/kE4m5jiDoRc/discussion 

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland