Skip to content

Use jdk22 GA instead of EA - #1

Open
rspilker wants to merge 375 commits into
Rawi01:jdk22from
projectlombok:master
Open

Use jdk22 GA instead of EA#1
rspilker wants to merge 375 commits into
Rawi01:jdk22from
projectlombok:master

Conversation

@rspilker

Copy link
Copy Markdown

I've already done the docker provisioning update, that should fix the broken check

rzwitserloot and others added 30 commits October 18, 2024 01:12
Update annotation value index
- closeQuietly is a pet peeve of mine; it is an abomination that must never be.
- All actual resources are closed; all filters aren't because there is no need.
- the underlying problem (of 'flushing' zips) is addressed.
This reverts commit 04c9755.

The nature of the fix is to simply scan the TypeMirror for 'lombok shenanigans'; if it finds them, the type is not complete; if there are none, the type is.

This fundamentally does not work - lombok shenanigans may remain even if lombok is done (`@lombok.NonNull` for example), and lombok shenanigans don't just appear as annotations on the type; they can appear in many forms: Annotations on local var decls, or even method calls to `Lombok.safeDeNull` or whatnot. safeDenull is made up, but we might add it someday. `@Getter` on a field isn't though, and suffers from the same problem.
One of the earlier commits replaced HTML <code> tags with markdown backticks, which are not rendering the code blocks correctly on the website.
[ci] Switch to Ubuntu 24.04 (ships with ant 1.10.14)
The class now implements Serializable to trigger generation of this$0
fields in the inner class. Since Java 18 the compiler only generates the
reference to the outer class if it is in use or the class is
Serializable.
Rawi01 and others added 27 commits April 21, 2026 23:00
Update both javac and eclipse handlers to emit Jackson 3 databind
annotations (@JsonDeserialize, @JsonPOJOBuilder) when configured via
lombok.jacksonized.jacksonVersion.

# Conflicts:
#	src/core/lombok/javac/handlers/HandleJacksonized.java
…py lists

Add tools.jackson.databind.annotation and tools.jackson.dataformat.xml.annotation
entries to the Jackson annotation copy lists, so that Jackson 3 databind and
format-specific annotations are correctly copied to getters, setters, and builders.
Add JacksonizedAccessorsJackson3 test case verifying that @Jacksonized
with jacksonVersion=3 emits the correct annotations.

Add expected warning messages for tests that have both Jackson 2 and 3
on the classpath without explicit version configuration, and fix
JacksonizedSuperBuilderWithJsonDeserialize message expectations.
Attempt to use EA logic for JDK 25 was failing.
…at least, now is not the moment to rework the build, and this commit isn't worth the pain. Removed the generics.
…and `lombok.experimental.Wither` (it's in main now).
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.