Skip to content

fix parsing of annotations in Java classfiles #1111

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

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

SethTisue
Copy link
Member

@SethTisue SethTisue commented Jul 11, 2022

The test case is minimized from https://github.com/asflierl/java-compiler-fail . I have verified locally that the fix also makes compilation succeed for that repo unminimized.

I have also verified locally that this fix fixes Test/compile in the Play repo (playframework/playframework#11349).

@SethTisue SethTisue marked this pull request as ready for review July 12, 2022 02:06
@SethTisue SethTisue requested a review from eed3si9n July 12, 2022 02:06
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit 766be90 into sbt:develop Jul 12, 2022
@SethTisue SethTisue deleted the sbt-issue-6969 branch July 12, 2022 02:15
HyukjinKwon pushed a commit to apache/spark that referenced this pull request Jul 13, 2022
### What changes were proposed in this pull request?
This PR aims to upgrade sbt from 1.7.0 to 1.7.1.

### Why are the changes needed?
the release notes: https://github.com/sbt/sbt/releases, sbt 1.7.1 bring bug fix,
> Fixes Java incremental compilation, specifically parsing of annotations in class files of [SethTisue](https://github.com/SethTisue) in [zinc#1111](sbt/zinc#1111)

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass GA.

Closes #37170 from panbingkun/upgrade_sbt.

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception when compiling Java sources with SBT 1.7.0
2 participants