Export to GitHub

jarjar - issue #63

jarjar fails to repackage Java8 classes


Posted on May 17, 2014 by Quick Hippo

What steps will reproduce the problem?

  1. Unzip attached reproducer zip file jarjar-bug-java8-classes.zip in an empty directory.
  2. ./build.sh # This will compile/jar/repackage a test class with 1.7 and 1.8 respectively

What is the expected output? What do you see instead?

Output jar in 1.7 case contains correctly repackged class. Output jar in 1.8 case contains class with original package.

What version of the product are you using? On what operating system?

jarjar-1.4.jar on any OS

Please provide any additional information below.

jarjar (as of version 1.4) is using asm-4.0 which does not handle Java8 classes. Upgrading to the asm-5.0.1 solves this issue.

Attachments

Status: New

Labels:
Type-Defect Priority-Medium