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

Fix inline accessor method bug in BcelAccessForInlineMunger #252

Merged
merged 4 commits into from
Aug 6, 2023
Merged

Conversation

kriegaex
Copy link
Contributor

@kriegaex kriegaex commented Aug 5, 2023

Make sure to create one ajc$inlineAccessMethod per identically named (overloaded) private aspect method in BcelAccessForInlineMunger.createOrGetInlineAccessorForMethod.

Bugs1920Tests.test_GitHub_250 reproduces the original problem before the bugfix and serves as a regression test.

Also improve the error message in LazyClassGen.getJavaClassBytesIncludingReweavable, i.e. no longer report "Unable to find ASM classes", if simply an ASM processing error occurred. In that case, report "Error processing class file".

Fixes #250.

@kriegaex kriegaex self-assigned this Aug 5, 2023
@kriegaex kriegaex added the bug Something isn't working label Aug 5, 2023
@kriegaex kriegaex added this to the 1.9.20 milestone Aug 5, 2023
Reproduces #250.

Signed-off-by: Alexander Kriegisch <[email protected]>
@kriegaex kriegaex force-pushed the gh-250 branch 2 times, most recently from db870e5 to 9b1a219 Compare August 5, 2023 05:28
Make sure to create one ajc$inlineAccessMethod per identically named
(overloaded) private aspect method in
BcelAccessForInlineMunger.createOrGetInlineAccessorForMethod.

Fixes #250.

Signed-off-by: Alexander Kriegisch <[email protected]>
…vable

No longer report "Unable to find ASM classes", if simply an ASM
processing error occurred. In that case, report "Error processing
class file".

Relates to #250.

Signed-off-by: Alexander Kriegisch <[email protected]>
Since JDK 20, targets older than 1.8 are no longer supported by Javac.

Signed-off-by: Alexander Kriegisch <[email protected]>
@kriegaex kriegaex merged commit 364059c into master Aug 6, 2023
3 checks passed
@kriegaex kriegaex deleted the gh-250 branch August 6, 2023 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NegativeArraySizeException when weaving aspect containing non-public, overloaded methods
1 participant