Reinier Zwitserloot
476a43b970
[build] sped up the build considerable.
...
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-16 17:09:13 +01:00
Reinier Zwitserloot
a49aec582b
[testing] ant test.javac6 now passes. yay.
2021-03-14 03:48:05 +01:00
Reinier Zwitserloot
58ff1482e3
[testing] improve information given when position validator tests fail
2021-03-13 20:14:51 +01:00
Reinier Zwitserloot
fb10b185bd
[testing] also ignore unset positions for the pretty print tester.
2021-03-13 18:20:14 +01:00
Reinier Zwitserloot
c979ee9ddf
[testing] now easier to identify what failed, by name of test case
...
test case names now include idempotent/javac/ecj/prettyprint as a prefix to the test case filename.
2021-03-13 18:19:35 +01:00
Reinier Zwitserloot
e8cd744d3b
[superbuilder] toBuilder + singular + javac6 was broken
...
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 04:53:44 +01:00
Reinier Zwitserloot
c1bf4ec3b6
[trivial] just fixing line endings - no other changes
2021-03-13 04:31:51 +01:00
Reinier Zwitserloot
bf0de8b678
[testing] marking down all jackson related tests as j8+ only
...
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.
2021-03-13 04:25:24 +01:00
Reinier Zwitserloot
90ec4cb0d0
[testing] javac6 fails some of the idempotency tests because certain nodes aren't initialized with a position.
...
The odds that the 'check if positions of every node is set to something useful' check is not going to find any
actual bugs in the idempotency phase, so, just turn it off entirely there.
2021-03-13 04:23:22 +01:00
Reinier Zwitserloot
fb85550399
[trivial] style and removing unused imports
2021-03-13 04:21:25 +01:00
Reinier Zwitserloot
a2ebb4ce36
[test] work in progress: Make test.javac6 pass all tests.
...
The `test.javac6` job causes a ton of errors because many tests use java8+ features. Marking them off as java8+ targeted only.
2021-03-13 04:20:47 +01:00
Reinier Zwitserloot
f8c16ed8ac
[tests] fix tests on java6/7
2021-03-05 08:06:46 +01:00
Reinier Zwitserloot
eebc5f4e85
[javac6] replacing calls to ListBuffer add/addAll to the append variants; add/addAll do not work in j6.
2021-03-05 06:44:35 +01:00
Reinier Zwitserloot
8cee44b3b6
[changelog]
2021-03-05 03:33:13 +01:00
Roel Spilker
04c4a2372f
Update currency exchange rate
2021-03-04 23:14:04 +01:00
Roel Spilker
42298f1e6c
Only accept orders for 10+ seats.
2021-03-04 23:12:04 +01:00
Reinier Zwitserloot
a7e9e8af49
Merge pull request #2762 from Rawi01/utility-class-rename
...
Mark generated UtilityClass constructor as generated
2021-03-04 22:15:49 +01:00
Reinier Zwitserloot
e959e8882c
Merge pull request #2754 from Rawi01/npe-nonStaticAccess
...
Save problem handler state for postponed error handling
2021-03-04 22:15:03 +01:00
Reinier Zwitserloot
bb36d95226
Merge pull request #2742 from Rawi01/ecj-fixes
...
Fix compilation using ecj
2021-03-04 22:13:44 +01:00
Reinier Zwitserloot
99d108f8dc
Merge pull request #2743 from Rawi01/extension-method-chain
...
Handle inner method invocations first
2021-03-04 21:50:13 +01:00
Rawi01
4a2e117e86
[ fixes #2756 ] Mark generated UtilityClass constructor as generated
2021-02-25 21:42:23 +01:00
Rawi01
0106746e60
[ fixes #2752 ] Save problem handler state for postponed error handling
2021-02-17 09:41:08 +01:00
Rawi01
d42a6fe40e
[ fixes #2741 ] Handle inner method invocations first
2021-02-07 21:23:21 +01:00
Rawi01
dd1f481c33
Fix ecj classloading
2021-02-07 14:21:43 +01:00
Rawi01
a62ffaa280
Move eclipse only code for Delegate into own class
2021-02-07 12:01:34 +01:00
Reinier Zwitserloot
ed4ced1a3b
Merge pull request #2719 from Rawi01/superbuilder-initializer-npe
...
SuperBuilder now skips initializers while gathering types
2021-02-04 22:17:22 +01:00
Reinier Zwitserloot
0519cb23b1
[ fixes #2714 ] Detect turbine and fail harder than usual.
2021-02-04 22:13:23 +01:00
Reinier Zwitserloot
d958f988a0
Merge pull request #2733 from Rawi01/checker-superbuilder
...
Add missing checker annotations in SuperBuilder
2021-02-04 22:02:58 +01:00
Reinier Zwitserloot
ccae25ac8c
Merge pull request #2734 from Rawi01/data-equals-warning
...
Only show super()-warning if lombok generates a method
2021-02-04 22:02:30 +01:00
Reinier Zwitserloot
011e9915f2
[changelog] [issue #2730 ] add the potential fix to the changelog
2021-02-04 22:01:36 +01:00
Reinier Zwitserloot
adf3095246
[issue #2730 ] Javadoc generated by lombok in javac now gets its position set.
...
This may fix 'IllegalArgumentException' errors when using google errorprone.
2021-02-04 21:59:32 +01:00
Rawi01
191a8011ef
[ fixes #1064 ] Only show super()-warning if lombok generates a method
2021-01-31 14:33:38 +01:00
Rawi01
561c434925
[ fixes #2692 ] Add missing checker annotations in SuperBuilder
2021-01-31 12:17:55 +01:00
Reinier Zwitserloot
3d3a4c322a
[versioning] post-release version bump
2021-01-28 23:20:00 +01:00
Reinier Zwitserloot
b9f1f50b8e
[versioning] pre-release version bump of the changelog as well
2021-01-28 23:16:26 +01:00
Reinier Zwitserloot
56d54bf1c4
[versioning] pre-release version bump
2021-01-28 22:58:02 +01:00
Reinier Zwitserloot
e6d8665f0e
[trivial] [build] .gitignore the jvm locations cachefile
2021-01-28 22:51:01 +01:00
Rawi01
eecd1a33e4
Validate positions during tests
2021-01-28 19:40:41 +01:00
Rawi01
a234a8e1d1
[ fixes #2691 ] Add end positions to all generated nodes
2021-01-28 19:40:41 +01:00
Rawi01
5ee6271902
[ fixes #2716 ] SuperBuilder now skips initializers while gathering types
2021-01-21 09:43:57 +01:00
Christian Schlichtherle
04f17f4dcf
Add to AUTHORS.
2021-01-15 10:37:55 +01:00
Christian Schlichtherle
648a56cb0a
Improve Javadoc and consistently use SourceVersion.latest().
2021-01-15 10:37:55 +01:00
Lars Knickrehm
4f360802f5
Fix inconsistency in lombok.toString.callSuper doc
2021-01-15 00:35:59 +01:00
Rawi01
2e5ea518cc
[ fixes #2443 ] Remove multiline Javadoc tags
2021-01-14 23:54:48 +01:00
Rawi01
b8d49a884e
[ fixes #2695 ] Create void literal properly
2021-01-14 23:37:54 +01:00
Reinier Zwitserloot
831e277d00
[website] Clarified @Accessors documentation and added links to issue #2464 and issue #2693
2021-01-03 15:07:32 +01:00
Reinier Zwitserloot
6f218d5ba8
Merge pull request #2690 from mattiasgronlund/master
...
Do not lose generic arguments when adding annotations
2021-01-01 15:29:24 +01:00
Mattias Grönlund
01cc651540
Do not lose generic arguments when adding annotations #2689
2021-01-01 12:38:07 +01:00
Reinier Zwitserloot
67d66be9ec
fixing sneakythrows in ecj, and with that, the tests.
2020-12-27 06:37:47 +01:00
Reinier Zwitserloot
11b6f8f97a
Merge pull request #2684 from Rawi01/npe-javadoc
...
Fix NullPointerException during Javadoc copy
2020-12-27 05:36:51 +01:00