All Questions
Tagged with javap read-eval-print-loop
3
questions
-2
votes
1
answer
633
views
I am trying javap -p classname on scala class but getting error in REPL
scala> class Department( val departmentId: Int, val departmentName: String)
defined class Department
scala> javap -p Department
<console>:12: error: not found: value javap
javap -p ...
0
votes
1
answer
558
views
No javap tool not found in Scala REPL
I am using Scala 2.11.6 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_79) on Windows 10.
I did following in REPL
scala> class Book (val title:String)
defined class Book
scala> :javap
:javap [...
2
votes
1
answer
930
views
Unable to use scala's repl :javap to look at trait companion object
I am using the :javap command in the scala repl and was trying to look at the traits companion object, but I couldn't seem to find out how. Here is what I do from command line.
$ cat > Foo.scala &...