-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Given a fresh Eclipse install from upcoming 4.23.0 Release (Candidate Build: 4.23RC2a), it appears that when Lombok is installed as java agent in eclipse.ini
...
-vmargs
-javaagent:xxx\eclipse\lombok-1.18.22.jar
...
the Eclipse refactor feature no longer works from within the Source Editor window.
NOTICE
UPDATE March 22, 2022
A snapshot build (to use before releasev1.18.24
), that fixes the issue, is provided here https://github.com/projectlombok/lombok/files/8274291/lombok.zip
To Reproduce
Given plain Java (no Lombok) ...
public static void main(String[] args) {
var message = "Hallo World";
System.out.println(message);
}
when trying to refactor/rename the message
variable (e.g. select the text and use the context menu), Eclipse throws a java.lang.VerifyError.
Version info:
- Lombok version 1.18.22, but also a latest build from the 'master' branch has same issue
- Platform Windows with Java 17.0.2 as shipped with the Eclipse Release Candidate (Candidate Build: 4.23RC2a)
Additional context
Eclipse also has a Code Outline view, from where one can initiate a refactor/rename e.g. on class fields. It appears that with that there are no issues.