Commit Graph
2697 Commits
Author SHA1 Message Date
Reinier Zwitserloot 8b805fadf7 Merge pull request #2138 from bulgakovalexander/feature/typeInferenceImprovements
val. override error handling policy for problemReporter to guarantee AbortCompilation is throwing.
2019-07-09 00:20:43 +02:00
Reinier Zwitserloot c1039553b0 [builder] added a feature: you can now configure builder class name via the config system 2019-07-09 00:11:00 +02:00
Reinier Zwitserloot bcf2d55abf [docker] Update test gradle file with the new style way to do things, which involves marking lombok explicitly as an annotation processor (via github user tagae: Sebastián González) 2019-07-09 00:10:59 +02:00
Roel Spilker 2ccd3f5f5d Fixes #2165: Generated equals fails on annotated array type 2019-07-08 23:17:38 +02:00
Reinier Zwitserloot 11065b564f [build] adding a security policy 2019-07-02 03:30:44 +02:00
Reinier Zwitserloot bb0736fe00 [website] tidelift update 2019-07-02 01:41:15 +02:00
Reinier Zwitserloot 927a6774f5 [fixes #2140] when pretty-printing (delombok) varargs, only turn array brackets into varargs for the actual top-level type, not for arrays inside the type, such as an array as generics component. 2019-06-18 15:37:58 +02:00
Reinier Zwitserloot e33a209022 [issue #2140] Reproducing the bug: delombok issue: When you delombok a signature like: List<byte[]>... arg, the array brackets are replaced by dots in the delomboked output, which isn’t valid java. 2019-06-18 00:35:26 +02:00
Bulgakov Alexander a899ffcbca [val]. more test cases 2019-05-25 00:15:09 +03:00
Bulgakov Alexander 67441a074f [val]. Sets false to ReferenceContexts' ignoreFurtherInvestigationField fields for generating bytecode correctly. Resolves the False part type of a conditional expression. 2019-05-24 19:04:16 +03:00
Bulgakov Alexander 089f2ec5f4 #1976. override error handling policy for problemReporter to guarantee AbortCompilation is throwing. 2019-05-24 10:05:38 +03:00
Roel Spilker d9b8b14575 Add funding file 2019-05-23 13:17:52 +02:00
Reinier Zwitserloot 6ea37c90a6 [website] changed the tidelift link to be more prominent + on docs pages 2019-05-22 01:04:22 +02:00
Reinier Zwitserloot 4af6e42b3b [website] fixed history/ajax-load system to deal with anchor links 2019-05-22 00:11:15 +02:00
Reinier Zwitserloot 8f69331ce8 Merge branch 'bulgakovalexander-feature/typeInferenceImprovements' 2019-05-21 23:22:18 +02:00
Reinier Zwitserloot 2704f073aa Code review + mention in changelog for the improvement to val handling vs. lambdas and conditional (ternary) expressions. 2019-05-21 23:20:00 +02:00
Roel Spilker 56aabf5465 Update changelog. Fixes #2100 2019-05-21 22:18:41 +02:00
Bulgakov Alexander cd49188aff #1976. one more test case 2019-05-20 13:44:29 +03:00
Bulgakov Alexander 71aea086e4 Merge branch 'master' into feature/typeInferenceImprovements 2019-05-20 13:10:14 +03:00
Reinier Zwitserloot c479920db1 post-release version bump (to be clear, the static constructor feature 2 commits before this is NOT in the 1.18.8 release; this post-release bump is slightly late). 2019-05-09 14:20:03 +02:00
Reinier Zwitserloot 1a5363cc5b [trivial] updating changelog retroactively to list an improbable breaking change about the generated parameter is null exception 2019-05-09 14:13:39 +02:00
Bulgakov Alexander 1fec035aa5 #1976. [@val] improved raw generic type inference by eclipse compiler. 2019-05-08 23:34:37 +03:00
daliclass d3ae4d9948 [Feature] staticConstructor should use already defined private constructor if available 2019-05-07 15:18:01 +02:00
Bulgakov Alexander 8f8cbae631 Merge remote-tracking branch 'lombok/master' into feature/typeInferenceImprovements 2019-05-07 10:49:50 +03:00
Bulgakov Alexander 06fb1034ea #1976. naive fix of the eclipse compiler's error 'The target type of this expression must be a functional interface' in code like 'lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;' 2019-05-07 10:49:25 +03:00
Reinier Zwitserloot 3496a3e963 pre-release version bump 2019-05-07 00:11:30 +02:00
Reinier Zwitserloot 42f36e66fe [fixes #1981][fixes #1961] Hardcoded some knowledge about how to copy jackson’s @JsonProperty. 2019-05-07 00:08:49 +02:00
Reinier Zwitserloot e69a991fcb [fixes #2120] ecj was not generating explicit nullchecks for builder-setters. 2019-05-06 22:48:11 +02:00
Reinier Zwitserloot d41e804fe7 [trivial] replacing all calls to Class.newInstance() with Class.getConstructor().newInstance to avoid warnings which are default in many JDK11+ environments, and it shouldn’t change anything (we handle the change from sneaky throwing to InvocationTargetException appropriately). 2019-05-06 21:26:29 +02:00
Bulgakov Alexander 8276dee255 Merge branch 'feature/typeInferenceImprovements' of https://github.com/bulgakovalexander/lombok into feature/typeInferenceImprovements 2019-05-04 23:41:14 +03:00
Bulgakov Alexander 2611e6bf98 Revert "[val] in ecj we were constructing a different type than for javac, when using ‘val’ on an intersection type."
This reverts commit 1730a991
2019-05-03 22:07:43 +03:00
Bulgakov Alexander 715c731fc2 Merge remote-tracking branch 'lombok/master' into feature/typeInferenceImprovements 2019-05-03 21:50:15 +03:00
Reinier Zwitserloot 2335f25166 [fixes #2104] superbuilder + non-list-singulars wouldn’t work due to hardcoded call to emptyList. 2019-05-01 05:45:10 +02:00
Reinier Zwitserloot bf0499263b [issue #2092] Add an uppercase option to FieldNameConstants 2019-05-01 01:33:57 +02:00
Reinier Zwitserloot ac0eeacc69 Merge branch 'master' of github.com:rzwitserloot/lombok 2019-05-01 00:42:06 +02:00
Reinier Zwitserloot b7d5638c8f Merge branch 'master' of github.com:rzwitserloot/lombok 2019-05-01 00:41:38 +02:00
Reinier Zwitserloot a318029830 [fixes #2083] adds feature ‘access level’ to @Builder 2019-05-01 00:41:32 +02:00
Roel Spilker e9faba0631 Fix docs. Fixes #2099 2019-05-01 00:41:18 +02:00
Roel Spilker 5c10191120 Update documentation 2019-05-01 00:09:08 +02:00
Reinier Zwitserloot ec04d9d7f0 [trivial] update a comment to be more accurate about the priority of handler for val. 2019-04-30 22:37:45 +02:00
Reinier Zwitserloot bfbf7f8796 Merge pull request #2114 from bulgakovalexander/bugfix/#1976
#1976. A handlers' order has been changed.
2019-04-30 22:35:30 +02:00
Reinier Zwitserloot 00dd02ca91 Merge pull request #2111 from daliclass/addition-of-documentation-for-using-Value-and-NonFinal
addition of documentation for using Value and NonFinal
2019-04-30 22:33:47 +02:00
Roel Spilker 7560124076 [i2084] Rename .dll to .binary to prevent OWASP Dependency-Check from reporting "problems" 2019-04-30 21:46:01 +02:00
Bulgakov Alexander ce0a09177e #1976. A handlers' order has been changed. The javac's HandleDelegate generates code before the HandleVal. 2019-04-28 22:45:43 +03:00
daliclass a2445096cb addition of documentation for using Value and NonFinal 2019-04-27 10:41:22 +01:00
Bulgakov Alexander afe9e37497 Merge branch 'master' into feature/typeInferenceImprovements 2019-04-25 23:35:01 +03:00
Reinier Zwitserloot 150be0a186 [trivial] adding a comment to give context to the fix for delombok being overly liberal with applying "var" to things. 2019-04-24 14:12:28 +02:00
Reinier Zwitserloot ac871308f1 [changelog] Adding JDK12 updates to changelog 2019-04-24 14:07:29 +02:00
Reinier Zwitserloot 0a1e872b96 [jdk11] delombok was printing most variable declarations that are generated by lombok with ‘var’. 2019-04-24 14:05:56 +02:00
Reinier Zwitserloot b94b75c9eb [trivial] making a part of the test framework code not warn on default JDK11+ linter settings. 2019-04-24 14:05:12 +02:00