[jboss-jira] [JBoss JIRA] (JASSIST-252) Javaassist problem with Test class having inheritance when used with PoweMock

Shigeru Chiba (JIRA) issues at jboss.org
Tue Feb 23 05:42:00 EST 2016


    [ https://issues.jboss.org/browse/JASSIST-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166825#comment-13166825 ] 

Shigeru Chiba commented on JASSIST-252:
---------------------------------------

{{Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18}}

This looks strange.  Javassist 3.19 should produce something like {{invalid constant type: 18 at ??}}.
Are you really using 3.19?

> Javaassist problem with Test class having inheritance when used with PoweMock
> -----------------------------------------------------------------------------
>
>                 Key: JASSIST-252
>                 URL: https://issues.jboss.org/browse/JASSIST-252
>             Project: Javassist
>          Issue Type: Bug
>         Environment: Java Version 7  with below JARs
> cglib-nodep-2.2.2.jar
> javassist-3.20.0-GA.jar
> junit-4.12.jar
> mockito-all-1.10.19.jar
> objenesis-2.1.jar
> powermock-mockito-1.6.3-full.jar
>            Reporter: Shailendra Yadav
>            Assignee: Shigeru Chiba
>
> https://github.com/jayway/powermock/issues/583



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list