You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/06/16 04:55:00 UTC

[jira] [Commented] (LENS-399) TestRewriting test is failing with powermock incompatibility with jdk8

    [ https://issues.apache.org/jira/browse/LENS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587369#comment-14587369 ] 

Raju Bairishetti commented on LENS-399:
---------------------------------------

[~MarekMalevic] Thanks for the comment. We are not using javassist dependency directly. It is coming from the powermock-core i.e. coming as transitive dependency.

Upgraded to powermock to 1.5.4 fixes some test failures but seeing some other test failures on the java8. Seems many of them are not related to powermock. Created a separate jira [LENS-607|https://issues.apache.org/jira/browse/LENS-607] to track other failures.

> TestRewriting test is failing with powermock incompatibility with jdk8
> ----------------------------------------------------------------------
>
>                 Key: LENS-399
>                 URL: https://issues.apache.org/jira/browse/LENS-399
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Raju Bairishetti
>            Assignee: Raju Bairishetti
>             Fix For: 2.2
>
>
> Right now, TestRewriting is failing with the incompatible version of pwoermock on jdk8. We need to use latest version which is compatible for jdk8
> Current versions in lens:
> *<mockito.version>1.8.5</mockito.version>*
> *<powermock.version>1.4.12</powermock.version>*
> {noformat}
> An error occurred while instantiating class org.apache.lens.driver.cube.TestRewriting: Failed to transform class with name org.apache.lens.driver.cube.TestRewriting. Reason: java.io.IOException: invalid constant type: 18 at 1
> 	at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:398)
> 	at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)