Class cast exception in TreeDissector

andrei.eremeev andrei.eremeev at oracle.com
Wed Mar 18 13:31:10 UTC 2015


-> <T> void f(T...a) {}
Exception in thread "main" java.lang.ClassCastException: 
com.sun.tools.javac.code.Type$ForAll cannot be cast to 
com.sun.tools.javac.code.Type$MethodType
     at impl.TreeDissector.typeOfMethod(TreeDissector.java:235)
     at impl.EvalStateImpl.processMethod(EvalStateImpl.java:493)
     at impl.EvalStateImpl.eval(EvalStateImpl.java:174)
     at tool.Repl.processSource(Repl.java:752)
     at tool.Repl.run(Repl.java:340)
     at tool.Repl.start(Repl.java:203)
     at tool.Repl.start(Repl.java:182)
     at tool.Repl.main(Repl.java:172)

Andrei Eremeev


More information about the kulla-dev mailing list