gdude2002 / jarjar

Automatically exported from code.google.com/p/jarjar
2 stars 1 forks source link

jarjar fails to repackage Java8 classes #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by inamda...@gmail.com on 17 May 2014 at 11:58

Attachments: