Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Github issue #84 #87

Merged
merged 2 commits into from
Aug 12, 2021

Conversation

pivotal-david-osullivan
Copy link
Contributor

Summary

GraalVM JDK contains some 0-byte JAR files named 'none' which could not be unzipped during class counting - for example, 'svm-none.jar'.

This change checks for 0-byte JAR file with name containing 'none' and does not attempt to unzip & count classes for such files.

Fixes #84

Use Cases

This caused builds with recent GraalVM buildpacks to fail.

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

…byte JAR files named '*none*' which could not be unzipped during class counting
@pivotal-david-osullivan pivotal-david-osullivan requested a review from a team August 12, 2021 08:37
@dmikusa dmikusa added semver:patch A change requiring a patch version bump type:bug A general bug labels Aug 12, 2021
@dmikusa dmikusa merged commit 19481b9 into paketo-buildpacks:main Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Samples java WAR fails to build image using graalvm java8(non-native)
2 participants