Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-341 Lens is not building against on JAVA-8
  3. LENS-399

TestRewriting test is failing with powermock incompatibility with jdk8

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • build, test
    • None

    Description

      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>

      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)
      

      Attachments

        1. LENS-399.patch
          1 kB
          Raju Bairishetti

        Activity

          People

            raju.bairishetti Raju Bairishetti
            raju.bairishetti Raju Bairishetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: