• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cast Exceptions on result of a JSR-233 (java) call.  RSS feed

 
Mike De
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the invocation of an object which is created by a eval call I can not cast the object to the super type:

Results in:


Exception in thread "main" java.lang.ClassCastException: TestClass cannot be cast to TestInterface
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!