aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-23[records] [javac] Putting `@NonNull` on a 'field' of a record now affects ↵Reinier Zwitserloot
the compact constructors, generating one if need be.
2021-03-23[delombok] [prettyprinter] add support for the compact record constructorReinier Zwitserloot
2021-03-22[javac] defer removal of `import lombok.x;` nodes until delombokReinier Zwitserloot
Our test harness setup for JDK15 and up doesn't work with annotations on record 'fields' (`record X(@RightHere String foo)`).
2021-03-22[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need ↵Reinier Zwitserloot
the support for records
2021-03-22Merge branch 'records'Reinier Zwitserloot
# Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java # src/core/lombok/eclipse/handlers/HandleBuilder.java # src/core/lombok/eclipse/handlers/HandleData.java # src/core/lombok/eclipse/handlers/HandleNonNull.java # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleBuilder.java # src/core/lombok/javac/handlers/HandleNonNull.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/core/src/lombok/RunTestsViaEcj.java
2021-03-21[testing] fixed an error (I probably introduced this in the typofix earlier) ↵Reinier Zwitserloot
in a test file.
2021-03-21Merge pull request #2725 from md-5/masterReinier Zwitserloot
[fixes #2724] Increase priority of Builder annotation removal
2021-03-21[changelog] reflecting fixes #2701 and fixes #2704 in the changelogReinier Zwitserloot
2021-03-21[trivial] [typofix]Reinier Zwitserloot
2021-03-21Merge pull request #2771 from janrieke/copyMoreJacksonAnnotationsReinier Zwitserloot
Add more Jackson annotations to the copy-to-setter list
2021-03-21Merge pull request #2772 from janrieke/superBuilderNPEwithSingularReinier Zwitserloot
[fixes #2701] fix NPE on customized SuperBuilder with Singular
2021-03-21Merge pull request #2770 from janrieke/superBuilderNPEinConstructorExistsReinier Zwitserloot
[fixes #2704] SuperBuilder: avoid NPE on existing constructors
2021-03-21Merge pull request #2780 from md-5/delombok-16Reinier Zwitserloot
[jdk16] Add lombok opens in single location
2021-03-20[jdk16] Add lombok opens in single locationmd_5
Fixes awhitford/lombok.maven#47
2021-03-20[fixes #2724] Increase priority of Builder annotation removalmd_5
Otherwise they may run after `HandleDelegate`. This is problematic as `HandleDelegate` parses the compulation unit and `@Builder` may contain imports (eg `AccessLevel`) that were already removed by other processors, eg `@Getter`.
2021-03-19[ecj] [bug-workarounds]Reinier Zwitserloot
The last comment in a line is lost if the array handed to the scanner is exactly sized to the input to process.
2021-03-19fix test stub dependencies for ecjRoel Spilker
2021-03-19[changelog]Reinier Zwitserloot
2021-03-19[jdk16] Suddenly, Stream has a default method toList :-)Roel Spilker
2021-03-19[build] broke the distribution.Reinier Zwitserloot
2021-03-19[build] remove some errors in eclipse.Reinier Zwitserloot
The ant task we use for streaming test reporting in the ant script needs deps we don't wanna include in eclipse, so I moved it to a src dir that we don't include in eclipse by default.
2021-03-19[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-19[testing] add a test.javac16Reinier Zwitserloot
2021-03-19[testing] fix vm-finder on macs.Reinier Zwitserloot
2021-03-19[testing] Fixing running older tests.Reinier Zwitserloot
the new formatter is nice, but needed to be compile with 1.6, otherwise running junit on older VMs doesn't work.
2021-03-19[jdk16] JCBindingPattern now has a field names var instead of separate fieldsRoel Spilker
2021-03-19[jdk16] TypeSymbol.isLocal has been renamedRoel Spilker
2021-03-19[testing] restore the printing of the actual/expected when tests fail.Reinier Zwitserloot
2021-03-19[testing] made the test script a bit more consistentReinier Zwitserloot
2021-03-19[testing] improve the output of `ant test`.Reinier Zwitserloot
2021-03-19[build] quality-of-life improvements for lombok dev on windowsReinier Zwitserloot
On windows, Eclipse keeps annotation processors open, which means putting spiProcessor in 'build' is annoying, as you can't delete open files on windows. Fixed by moving it to dist
2021-03-19[testing] now that we've patched lombok to work in j16, no need for the ↵Reinier Zwitserloot
--add-opens lines anymore.
2021-03-19[testing] unbroke 'ant test.javac8'.Reinier Zwitserloot
2021-03-19[jdk16] forget optimization...Roel Spilker
2021-03-19[jdk16] delombokRoel Spilker
2021-03-19[jdk16] dockerRoel Spilker
[jdk16] delombok
2021-03-18[testing] fixing a typo in a test fileReinier Zwitserloot
2021-03-18[build] the new spi processor didn't handle inner types used as SPI targets.Reinier Zwitserloot
2021-03-18[typo] oh dear, I broke the build again.Reinier Zwitserloot
2021-03-17[build] Further adjustments to the 'ant intellij' target.Reinier Zwitserloot
As I don't use intellij, no idea if it works. Feedback welcome!
2021-03-17[build] Fixed the ant eclipse and ant intellij targets.Reinier Zwitserloot
2021-03-16[fixes #2681] [jdk16] support jdk16Reinier Zwitserloot
2021-03-16[build] sped up the build considerable.Reinier Zwitserloot
We used to use the mango SPI processor, but this had two major issues: * ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac * mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time. Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and adding our own SPI generating annotation processor to the build which can deal with incrementals. There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example. These limits seem quite exotic, though.
2021-03-14[testing] `ant test.javac6` now passes. yay.Reinier Zwitserloot
2021-03-13[testing] improve information given when position validator tests failReinier Zwitserloot
2021-03-13[testing] also ignore unset positions for the pretty print tester.Reinier Zwitserloot
2021-03-13[testing] now easier to identify what failed, by name of test caseReinier Zwitserloot
test case names now include idempotent/javac/ecj/prettyprint as a prefix to the test case filename.
2021-03-13[superbuilder] toBuilder + singular + javac6 was brokenReinier Zwitserloot
superbuilder generated the node `x.pluralName(plural == null ? Collections.emptyList() : plural)`. java6 is not smart enough to infer the appropriate generics for the emptyList() call. Fixed by always specifying the needed type explicitly: Collections.<String>emptyList();
2021-03-13[trivial] just fixing line endings - no other changesReinier Zwitserloot
2021-03-13[testing] marking down all jackson related tests as j8+ onlyReinier Zwitserloot
The jackson dep we need for testing is too new a class file to run on j6, stubbing it out too much effort. Odds we find a bug specifically because this stuff fails on java6/7 are low, and I'm okay with supporting 6/7 a little less well.