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
Welcome to Scala version 2.10.0 (JavaHotSpot(TM) 64-BitServerVM, Java1.6.0_37).
Type in expressions to have them evaluated.
Type:help for more information.
scala>importscala.reflect.runtime.universe._importscala.reflect.runtime.universe._
scala> typeOf[java.lang.reflect.Method].member(newTermName("invoke"))
res0: reflect.runtime.universe.Symbol= method invoke
scala> res0.annotations
res1:List[reflect.runtime.universe.Annotation] =List()
This REPL session explains it the best:
The relevant piece of code is in JavaMirrors:
It forgets to load information about thrown exceptions and synthesize the right annotations.
The text was updated successfully, but these errors were encountered: