Skip to content

jarjar fails to repackage Java8 classes #63

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 [email protected] on 17 May 2014 at 11:58

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions