Reinier Zwitserloot
e6ecbe4f3a
As we’re preparing to release v2, we want to delete the experimental editions of the Builder and Value annotations… but in case you install lombok v2 into eclipse but use an older lombok as dep in your project, we still do want to process the old annotations. Had to stringly-type a few things to make that happen, but, works now.
2018-02-07 00:02:46 +01:00
Reinier Zwitserloot
6484537e2e
URLs to the ‘experimental’ feature page of features that have been promoted will now redirect (permanently) to the (non-experimental) feature page equivalent.
2018-02-07 00:02:46 +01:00
Reinier Zwitserloot
66469e04fe
[var] various upgrades to var:
...
* var is promoted to the main package.
* It is no longer an opt-in thing.
* bug: var (unlike val) is allowed in old-style for loops, but if you multi-init: for (var i = 0, j="Foo";;), you now get an error that you can't do that.
* tests both for the multi-for situation and the new main package variant.
2018-02-07 00:01:22 +01:00
Reinier Zwitserloot
55bcc142d0
[jdk9] forcing new rounds when compiling multiple modules didn’t work. (FilerException on creating the new round).
2018-02-07 00:01:16 +01:00
Reinier Zwitserloot
bb95ad218d
[website] Updated docs for JDK9 module-info support.
2018-02-06 06:20:44 +01:00
Reinier Zwitserloot
b6f17ef81a
[jdk9] added a best-effort attempt to claim away lombok annotations when lombok is deployed in JDK9-module mode. Due to a bug or oversight in jigsaw it is no longer possible to supply 2 providers for the Processor service, which was the common and as far as I know only way to deal with the situation that you want to claim a subset of annotations but look at all of them (which is what lombok wants to do).
2018-02-06 06:20:44 +01:00
Reinier Zwitserloot
116a9dbb75
[compiling] running the ant compile job now no longer emits any warnings. Each warning that was emitted has been addressed, or analysed and suppressed.
2018-02-06 06:20:44 +01:00
Reinier Zwitserloot
e9d86650ff
[jdk9] [opinionated] The java9 warning when using lombok about ‘inaccessible API’ is now suppressed.
2018-02-06 06:20:44 +01:00
Reinier Zwitserloot
fee0ad33ab
[jdk9] add support for using lombok with JDK9 code when compiling using the new module syntax, and having module-info.java files in your source.
2018-02-06 06:20:39 +01:00
Reinier Zwitserloot
0b2cca0eb9
[website] added the German JUG week to the main page.
2018-02-01 17:06:32 +01:00
Roel Spilker
01754d9140
Merge branch '2is10-npe-warning'
2018-01-09 13:11:03 +01:00
Roel Spilker
5a2fe6e61c
use T instead of RuntimeException
2018-01-09 13:10:18 +01:00
Roel Spilker
371b9712df
Merge branch 'npe-warning' of https://github.com/2is10/lombok into 2is10-npe-warning
2018-01-09 13:09:23 +01:00
Ruslan Popenko
aaa876d332
Wrong documentation variables fix.
...
I've fixed documentation for Cleanup annotation. Doc provided before wrong variable information (you closed String instead of Closeable).
2018-01-09 13:03:25 +01:00
Roel Spilker
4ac941acca
Potential fix for #1555
2018-01-09 12:58:54 +01:00
Reinier Zwitserloot
87a946f7ee
post-release version bump
2018-01-09 01:06:57 +01:00
Reinier Zwitserloot
61938f4ea8
pre-release version bump
2018-01-09 00:54:53 +01:00
Reinier Zwitserloot
6e7f75eb77
Updated copyright notices to 2018.
2018-01-09 00:54:17 +01:00
Reinier Zwitserloot
369df91756
[ fixes #1554 ] javac9 now caches type lookups based on ‘position’ which is slapped together by a tuple based on the position (as gleaned from the JCTree object) and the source file (as gleaned from.. Log. *facepalm*). We didn’t update log when resolving for i.e. ‘val’, so the caches get all jumbled up. Fixed by setting the Log’s ‘useSource’ method.
2018-01-09 00:46:44 +01:00
Reinier Zwitserloot
14407cedb5
[ fixes #1553 ] attriber of JDK9 checks the enclosing class’s type, which we intentionally haven’t set yet. To avoid NPEs, let’s set it.
2018-01-09 00:00:32 +01:00
Roel Spilker
209c082530
Update tests for new Builder.Default handling #1547
2018-01-08 22:10:27 +01:00
Roel Spilker
4dd59e07da
jdk9 Builder.Default works again. Fixes #1547
2018-01-08 22:00:28 +01:00
Liam Miller-Cushon
ad2194a3fb
Whitelist a JavacFileManager implementation
...
See bazelbuild/bazel#4393
2018-01-06 22:52:12 +01:00
tingstad
32549e2a3a
Update changelog: 1.16.[1]6 typo
...
"JDK9 support much improved since v1.16.6" -> "... v1.16.16"
2018-01-03 23:50:32 +01:00
Roel Spilker
cf5a714c15
update doc
2017-12-12 10:55:25 +01:00
Reinier Zwitserloot
273cb83ef3
build script for edge release updated
2017-12-12 06:30:39 +01:00
Reinier Zwitserloot
ae22bb617b
Updated to new in ivy++ scp/ssh tasks.
2017-12-12 06:03:34 +01:00
Roel Spilker
d9031506b5
support for @Builder on methods with a generified return type. Fixes #1420
2017-12-12 02:42:14 +01:00
Roel Spilker
f2530ab37e
handle @Builder.Default on generic fields. Fixes #1527
2017-12-12 01:04:20 +01:00
skyupward
0232d99ba6
getName call it self result in stackoverflow
...
I think line 12 is incorrect, call "this.getName()" in it self will cause stackoverflow.Change to return this.name.
2017-12-11 23:01:53 +01:00
Roel Spilker
e04e1771e1
document deprecation of the config key lombok.addGeneratedAnnotation. Fixes #1532
2017-12-11 22:59:17 +01:00
Roel Spilker
50cb79b9ed
installer now defaults to inserting an absolute path into eclipse.ini
2017-12-11 22:43:16 +01:00
Roel Spilker
aaa29d16ee
make incremental compilation work
2017-12-11 22:20:16 +01:00
Jan Matrne
a6474a69a1
fix target description
2017-12-11 21:33:59 +01:00
Reinier Zwitserloot
be0a9ec2ed
‘fixed’ ecj testing on JDK9 by requiring that you download the Oracle8 rt.jar. Fortunately, we already had an optional ant task to fetch this. I’ve simply made it less optional.
2017-12-11 21:28:46 +01:00
Reinier Zwitserloot
9cf3c8f8ba
[changelog] Add a note about changing the behaviour of ConstructorProperties in this release.
2017-12-11 21:28:05 +01:00
Reinier Zwitserloot
7176ebc6c6
errors generated during compilation by lombok weren’t being conveyed in Javac9.
2017-12-05 00:00:08 +01:00
Reinier Zwitserloot
ab8e14736f
[JDK9] fixing delombok’s comment integration in JDK9.
2017-12-05 00:00:08 +01:00
Reinier Zwitserloot
a92117574e
Working around newly introduced lint errors in javac9.
2017-12-05 00:00:08 +01:00
Roel Spilker
003832670e
delombok no longer prints generated outer-instance constructor parameters, fixes #1521
2017-12-04 22:28:21 +01:00
Roel Spilker
602877e694
delombok no longer prints generated outer-instance constructor parameters, fixes #1521
2017-12-04 21:50:10 +01:00
Reinier Zwitserloot
0d6bfb1bbc
bugfix to the stubs for ‘Symbol’.
2017-12-04 21:41:47 +01:00
Reinier Zwitserloot
9aac454aec
fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off.
2017-12-04 21:41:47 +01:00
Reinier Zwitserloot
d7c019c07c
for lombok v2, make generation of ConstructorProperties an optional extra, instead of default on.
2017-12-04 21:41:46 +01:00
Roel Spilker
1deb55a480
download deps
2017-12-04 21:09:02 +01:00
Roel Spilker
4710d20e18
replace all fileManagers to make sure we patch the generated bytecode, fixes #1518
2017-11-29 19:42:24 +01:00
Reinier Zwitserloot
72561d7428
javax.annotation.Generated will no longer be applied by default (Oracle broke it with JDK9).
2017-11-29 04:06:23 +01:00
Reinier Zwitserloot
af8c2bf8e5
delombok in JDK9 now almost works. Some cases of ‘val’ don’t work yet.
2017-11-29 04:06:23 +01:00
Reinier Zwitserloot
9be8cd4afd
bugfix for delomboking source that does not compile; it should just emit compiler errors, not stack traces.
2017-11-29 04:06:23 +01:00
Reinier Zwitserloot
2d5ae0d920
some bugfixes for JDK9 support involving the Options system of javac.
2017-11-29 04:06:23 +01:00