You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===
Welcome to Scala version 2.8.1.final (JavaHotSpot(TM) 64-BitServerVM, Java1.6.0_22).
Type in expressions to have them evaluated.
Type:help for more information.
scala>classTest
defined classTest
scala>valt1=newTest
t1:Test=Test@20f5e814
scala> t1.getClass.getSimpleName
java.lang.InternalError:Malformedclassname
at java.lang.Class.getSimpleName(Class.java:1133)
at .<init>(<console>:8)
at .<clinit>(<console>)
at RequestResult$$.<init>(<console>:9)
at RequestResult$$.<clinit>(<console>)
at RequestResult$$scala_repl_result(<console>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at scala.tools.nsc.Interpreter$$Request$$$$anonfun$$loadAndRun$$1$$$$anonfun$$apply$$17.apply(Interpreter.scala:988)
at scala.tools.nsc.Interpreter$$Request$$$$anonfun$$loadAndRun$$1$$$$anonfun$$apply$$17.apply(Interpreter.scala:988)
at scala.util.con...
scala> t1.getClass.getCanonicalName
java.lang.InternalError:Malformedclassname
at java.lang.Class.getSimpleName(Class.java:1133)
at java.lang.Class.getCanonicalName(Class.java:1176)
at .<init>(<console>:8)
at .<clinit>(<console>)
at RequestResult$$.<init>(<console>:9)
at RequestResult$$.<clinit>(<console>)
at RequestResult$$scala_repl_result(<console>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at scala.tools.nsc.Interpreter$$Request$$$$anonfun$$loadAndRun$$1$$$$anonfun$$apply$$17.apply(Interpreter.scala:988)
at scala.tools.nsc.Interpreter$$Request$$$$anonfun$$loadAndRun$$1$$$$anonfun$$ap...
=== What is the expected behavior? ===
The correct names should be returned and no exception thrown.
=== What do you see instead? ===
Exceptions are thrown.
=== Additional information ===
This is most likely related to and possibly a duplicate of #2034. I'm creating a separate ticket because it's not entirely obvious they are duplicates, so if they are are duplicates it will create a clear, easy-to-find record of it.
=== What versions of the following are you using? ===
Scala: 2.8.1
Java: 1.6.0_22
Operating system: OSX 10.5
The text was updated successfully, but these errors were encountered:
=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===
=== What is the expected behavior? ===
The correct names should be returned and no exception thrown.
=== What do you see instead? ===
Exceptions are thrown.
=== Additional information ===
This is most likely related to and possibly a duplicate of #2034. I'm creating a separate ticket because it's not entirely obvious they are duplicates, so if they are are duplicates it will create a clear, easy-to-find record of it.
=== What versions of the following are you using? ===
The text was updated successfully, but these errors were encountered: