Skip to content

Conversation

@brachy84
Copy link
Member

@brachy84 brachy84 commented Aug 1, 2023

Since version 4, groovy decompiles the classes itself via asm and is no longer a bunch of reflection magic.
Class formers where not properly (or not at all) applied to classes loaded by groovy. This PR fixes that.

Meaning groovy will now respect @SideOnly annotations. But it does not work in all cases. When a method was removed on server side because it's client annotated and the method is abstract in super class which does not have the annotation, then groovy crashes.

Copy link
Collaborator

@WaitingIdly WaitingIdly left a comment

Choose a reason for hiding this comment

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

didnt explode the scripts i tested

@brachy84 brachy84 added the sandbox For internal changes to the sandbox label Aug 3, 2023
@brachy84 brachy84 merged commit 6d11d44 into master Aug 7, 2023
@brachy84 brachy84 deleted the classload-fix branch August 7, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sandbox For internal changes to the sandbox

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants