aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-03-24improve compiler detection for jdk9 later.Takuya Murakami
2018-03-21[fix] Fix intellij build with jdk10 (#1572)Takuya Murakami
Add a JavaFileManager class name to KNOWN_JAVA9_FILE_MANAGERS.
2018-03-20[issue #1615] fixes a bug where equals and hashcode would mess up if both ↵Reinier Zwitserloot
the outer and the inner class have generics, the inner is non-static, and you generate equals/hashcode on the inner. Note that in general this is just broken; do not put non-static inner classes in generics-carrying classes in the first place!
2018-03-19Fresh builds wouldn’t work anymore due to a weird addition in ecj9.Reinier Zwitserloot
2018-02-07Parsing for source level broken under JDK9 due to change in 1.X->X ↵Reinier Zwitserloot
versioning by oracle.
2018-02-07[bugfix] builder.default with the old lombok.experimental.Builder annotation ↵Reinier Zwitserloot
only worked in javac, not eclipse.
2018-02-07[trivial] copyright header year bump to 2018Reinier Zwitserloot
2018-02-07As we’re preparing to release v2, we want to delete the experimental ↵Reinier Zwitserloot
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[var] various upgrades to var:Reinier Zwitserloot
* 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[jdk9] forcing new rounds when compiling multiple modules didn’t work. ↵Reinier Zwitserloot
(FilerException on creating the new round).
2018-02-06[jdk9] added a best-effort attempt to claim away lombok annotations when ↵Reinier Zwitserloot
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[jdk9] add support for using lombok with JDK9 code when compiling using the ↵Reinier Zwitserloot
new module syntax, and having module-info.java files in your source.
2018-01-09use T instead of RuntimeExceptionRoel Spilker
2018-01-09Merge branch 'npe-warning' of https://github.com/2is10/lombok into ↵Roel Spilker
2is10-npe-warning
2018-01-09Wrong documentation variables fix.Ruslan Popenko
I've fixed documentation for Cleanup annotation. Doc provided before wrong variable information (you closed String instead of Closeable).
2018-01-09Potential fix for #1555Roel Spilker
2018-01-09post-release version bumpReinier Zwitserloot
2018-01-09pre-release version bumpReinier Zwitserloot
2018-01-09Updated copyright notices to 2018.Reinier Zwitserloot
2018-01-09[fixes #1554] javac9 now caches type lookups based on ‘position’ which ↵Reinier Zwitserloot
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[fixes #1553] attriber of JDK9 checks the enclosing class’s type, which we ↵Reinier Zwitserloot
intentionally haven’t set yet. To avoid NPEs, let’s set it.
2018-01-08jdk9 Builder.Default works again. Fixes #1547Roel Spilker
2018-01-06Whitelist a JavacFileManager implementationLiam Miller-Cushon
See bazelbuild/bazel#4393
2017-12-12support for @Builder on methods with a generified return type. Fixes #1420Roel Spilker
2017-12-12handle @Builder.Default on generic fields. Fixes #1527Roel Spilker
2017-12-05errors generated during compilation by lombok weren’t being conveyed in ↵Reinier Zwitserloot
Javac9.
2017-12-05Working around newly introduced lint errors in javac9.Reinier Zwitserloot
2017-12-04for lombok v2, make generation of ConstructorProperties an optional extra, ↵Reinier Zwitserloot
instead of default on.
2017-11-29replace all fileManagers to make sure we patch the generated bytecode, fixes ↵Roel Spilker
#1518
2017-11-29javax.annotation.Generated will no longer be applied by default (Oracle ↵Reinier Zwitserloot
broke it with JDK9).
2017-11-29delombok in JDK9 now almost works. Some cases of ‘val’ don’t work yet.Reinier Zwitserloot
2017-11-29bugfix for delomboking source that does not compile; it should just emit ↵Reinier Zwitserloot
compiler errors, not stack traces.
2017-11-29some bugfixes for JDK9 support involving the Options system of javac.Reinier Zwitserloot
2017-11-28use ASM6 instead of ASM5Roel Spilker
2017-11-28JDK9 support for delombok (and thus, for running the tests under JDK9).Reinier Zwitserloot
2017-11-07fixed the second "equals" as wellPatrick Cornelißen
2017-11-07fix JavaDoc of callSuper in the ToString annotationPatrick Cornelißen
2017-11-06Generate correct hashCode when callSuper and no fields included. Fixes #1505Roel Spilker
2017-10-25add support for Netbeans on jdk9Roel Spilker
2017-10-25code cleanupRoel Spilker
2017-10-25Turns out we don't need the encoding after all since all methods are overriddenRoel Spilker
2017-10-16LombokFileObjects: get encoding from wrappedManager.Takuya Murakami
2017-10-16LombokFileObjects: use default charset in BaseFileManager wrapper.Takuya Murakami
2017-10-16Add my name to AUTHORS, remove TODOTakuya Murakami
2017-10-15fix issue #1440, #1472: wrap BasedFileManager for jdk9Takuya Murakami
2017-09-18Merge pull request #1450 from cardamon/fix-builder-javadoc-linkRoel Spilker
Fix @Builder complete doc link.
2017-09-18Rename class in test fileRoel Spilker
2017-09-18Merge branch 'master' of https://github.com/kchirls/lombok into kchirls-masterRoel Spilker
Fixes #869, fixes #1018
2017-08-08Fix @Builder complete doc link.Jakob van Kruijssen
2017-07-28Avoid "possible NPE" warnings for throw Lombok.sneakyThrow(e)Jared Jacobs
Currently, the following code triggers a warning in IntelliJ. (I'm using the current version, 2016.3.4.) throw Lombok.sneakyThrow(e); > Dereference of 'Lombok.sneakyThrow(e)' may produce 'java.lang.NullPointerException'. This change eliminates the warning. All tests pass. I ran: ant setupJavaOpenJDK6TestEnvironment ant test ant setupJavaOpenJDK7TestEnvironment ant test ant setupJavaOracle7TestEnvironment ant test ant setupJavaOracle8TestEnvironment ant test