293 Commits
Author SHA1 Message Date
Danish Nawab 10ab92b5d9 Support JDK27: end positions moved from EndPosTable to JCTree.endpos
JDK27 removed com.sun.tools.javac.tree.EndPosTable and stores end
positions directly on tree nodes (JDK-8372948). Lombok resolved that
class in a static initializer and rethrew on failure, so the processor
never initialized and every compilation on JDK27 failed.

- Javac: probe for EndPosTable; when absent, use the no-arg
  DiagnosticPosition.getEndPosition() and write JCTree.endpos directly
- CommentCatcher: skip setting genEndPos where the field no longer exists
- new java27 parser factory: JDK27 dropped the keepEndPositions
  parameter from JavacParser and ParserFactory.newParser
- DocCommentIntegrator: implement the new no-arg getEndPosition()
- PrettyPrinter: drop an unused reflective getEndPosition lookup that
  would fail class init on JDK27
- add an opt-in test.javac27 target

Fixes #4072
2026-08-24 11:06:20 +02:00
Reinier Zwitserloot 1bcf9ff418 [deps] updating to patcher release v0.60. 2026-08-07 02:00:41 +02:00
Rawi01 31165ee216 Add eclipse 2025-09 test targets 2026-04-21 23:00:57 +02:00
Reinier Zwitserloot 87a75b103f [jdk26] Push patcher dep to 58 which includes support for JDK26. 2026-04-08 01:35:50 +02:00
Reinier Zwitserloot e789e823b1 [test] Update the generation of eclipse test targets from JDK14 to JDK25. 2026-02-06 01:51:31 +01:00
Reinier Zwitserloot 93cfef4d94 [buildScript] maven central changed their deployment procedure. 2025-09-05 00:18:59 +02:00
Reinier Zwitserloot 7aa264ea6a Merge pull request #3888 from Rawi01/eclipse-record-refactoring
Support records in upcoming eclipse version
2025-08-07 02:02:32 +02:00
Reinier Zwitserloot c2ed29308d [build] Added ant targets for OpenJDK 25 release. 2025-08-01 00:57:37 +02:00
Reinier Zwitserloot f0e3dacf47 [build] vm-finder no longer blindly continues if trying to find an unknown VM version:
find-vm had the annoying property that on `/usr/libexec/java_home` based systems (Such as macs), trying to find the location of an unknown VM version just gave you the default, meaning `ant test.javac25` would run on 24. Now, it errors.
2025-08-01 00:09:00 +02:00
Rawi01 45f0da2050 [fixes #3883] Support records in upcoming eclipse version 2025-05-27 08:30:12 +02:00
Reinier Zwitserloot bf20ef9f31 [deps] previous commit requires patcher release v0.56. 2025-05-23 04:13:49 +02:00
Reinier Zwitserloot d199d43e54 [build] Deal with the migration from mavencentral OSSRH to Central. (untested; we'll need to wait for a release to test this!) 2025-05-23 00:53:48 +02:00
Reinier Zwitserloot 7471f1a2c6 [tests] removed eclipse-2024-03 t/m 2024-12; one eclipse a year is fine and 2025-03 is in the test set. 2025-03-30 01:28:20 +01:00
Rawi01 fe4fdf4fff Add eclipse 2024-12 test targets
# Conflicts:
#	buildScripts/ivy.xml
2025-03-30 01:28:20 +01:00
Rawi01 8b57eaa12f [fixes #3823] Set missing source position for receiver annotation 2025-03-30 01:28:20 +01:00
Reinier Zwitserloot da533a87e3 [build] Add eclipse 2025-03 deps and test targets, and cleaned up some old ones. 2025-03-28 16:08:09 +01:00
Roel Spilker b208a063a1 [trivial] make test.broad work again 2025-03-07 09:17:58 +01:00
Reinier Zwitserloot 3804623408 [build] update 'test v current JDK' from 23 to 24, as JDK24 is about to go gold. 2025-03-07 00:26:10 +01:00
Reinier Zwitserloot 94e6a38b0a [deps] Update dep to patcher 0.54 2025-03-06 23:23:58 +01:00
Reinier Zwitserloot c8d6152097 [infra] ant targets to test on JDK23 added and changelog updated. 2024-10-18 01:12:58 +02:00
Reinier Zwitserloot cf429828db Merge branch 'eclipse-tests-signature' of https://github.com/Rawi01/lombok into foo 2024-10-17 23:55:36 +02:00
Reinier Zwitserloot 7526768dda [deps] Update dep to patcher 0.52 2024-09-20 02:17:30 +02:00
Rawi01 6fba0cb2da Add eclipse 2024-09 test targets 2024-09-19 17:09:45 +02:00
Rawi01 ad2c75a6b1 Add eclipse 2024-06 test target 2024-06-16 12:23:08 +02:00
Rawi01 1b713add95 Add eclipse 2024-03 as test target 2024-03-18 19:17:58 +01:00
Rawi01 03201f2431 Always use maven to download ecj 2024-03-18 00:14:06 +01:00
Rawi01 f3a4b1b415 Merge pull request #3600 from Rawi01/eclipse-dependency-download-with-version-support
Fix broken eclipse-I tasks
2024-02-03 00:35:33 +01:00
Emiliano Ruiz Carletti 3c59b40f1c Add arch x86_64 2024-02-02 13:52:58 -03:00
Rawi01 cad428ea74 Use version numbers in eclipse dependency downloader 2024-02-01 20:44:09 +01:00
Reinier Zwitserloot 64e6d50118 [build] Ensure build knows where lombok.patcher v0.50 lives 2024-01-12 01:39:10 +01:00
Reinier Zwitserloot 4625adc6f7 [integration-tests] Add java 22 2024-01-12 01:34:41 +01:00
Reinier Zwitserloot 9caa9cc9e8 Merge branch 'eclipse-2023-12-tests' of https://github.com/Rawi01/lombok into Rawi01-eclipse-2023-12-tests 2024-01-12 00:44:22 +01:00
Reinier Zwitserloot 3114049cd3 [build] Update IvyPlusPlus req to minimum 1.42 2024-01-12 00:39:05 +01:00
Rawi01 ebb166cd52 Add ambiguous javax.el-api dependency 2023-12-15 19:44:05 +01:00
Rawi01 5136044919 Add tests for eclipse 2023-12 and integration builds 2023-12-15 19:44:01 +01:00
Rawi01 de60978ac6 Add eclipse 2023-09 for tests 2023-11-19 12:00:11 +01:00
Reinier Zwitserloot 0686059d05 [build] p2 publish ran in-process which meant the System.exit shut down ant, whoops 2023-09-20 04:47:23 +02:00
Reinier Zwitserloot 9bcaaafed4 [fixes #3474] lombok.jar now contains zero paths that could clash with other modules, as that's already enough to trigger split package errors from jigsaw. 2023-09-20 04:08:53 +02:00
Reinier Zwitserloot 1842bc7ca5 [deps] Updated lombok.patcher version (which includes newer ASM) 2023-09-15 01:39:50 +02:00
Reinier Zwitserloot 1e284a5907 [build] fix release build script 2023-05-24 23:41:30 +02:00
Reinier Zwitserloot 375891ff4f [build] Check version before allowing release 2023-05-24 22:58:23 +02:00
Reinier Zwitserloot b80ff39d82 [fixup] 2023-03-23 14:21:56 +01:00
Reinier Zwitserloot 2079eba1f9 [build] Fixing ant edge.release. 2023-03-23 14:18:54 +01:00
Rawi01 2cb1e085ea Add missing classpath element to eclipse-X-full 2023-03-22 10:22:34 +01:00
Rawi01 10d824ace8 Fix test compile order 2023-03-22 10:22:34 +01:00
Reinier Zwitserloot f6c9bfba1b Updating tests and changelog to reflect JDK20 support 2023-03-21 16:31:04 +01:00
Reinier Zwitserloot 566dfe73ca [build] final touches on updating deployment to new cloudflare host 2023-02-03 03:54:46 +01:00
Reinier Zwitserloot dbb7ea00b8 [build] p2 repo now updated to go to cloudflare R2 2023-02-03 02:30:56 +01:00
Reinier Zwitserloot 756f0019c3 [build] Uploading edge repo to cloudflare R2 bucket straight from ant now possible 2023-02-03 02:21:20 +01:00
Reinier Zwitserloot f090e50d0d [tests] testing eclipse-full works on more platforms.
only worked on linux-x86_64, now it should work on more os+arch combos
2023-01-12 01:37:00 +01:00