Commit Graph
3030 Commits
Author SHA1 Message Date
Reinier Zwitserloot 1ced413ccb [deps] added some deps used during eclipse testing. 2020-09-24 22:15:31 +02:00
Reinier Zwitserloot fa89a5b007 [builder] [refactor] # of params was growing to ridiculous proportions.
refactored to use a single object with a bunch of fields so we can pass this object around instead.
2020-09-20 03:37:07 +02:00
Reinier Zwitserloot f6a6f9deb5 [trivial] [typo] 2020-09-18 03:43:42 +02:00
Reinier Zwitserloot 25f91eb7b2 Merge pull request #2560 from Rawi01/extensionmethod-names
Detect static method access properly
2020-09-18 02:32:34 +02:00
Reinier Zwitserloot 1dd84581c0 Merge pull request #2558 from Rawi01/extensionmethod-suppress
Fix suppressBaseMethods in ecj/eclipse
2020-09-18 02:31:44 +02:00
Reinier Zwitserloot f43a63b1d9 Merge branch 'delegate-methods-outline' of git://github.com/Rawi01/lombok into Rawi01-delegate-methods-outline
# Conflicts:
#	src/core/lombok/eclipse/EclipseAugments.java
2020-09-18 02:30:42 +02:00
Reinier Zwitserloot 730670f1f4 Merge branch 'eclipse-javadoc' of git://github.com/Rawi01/lombok into Rawi01-eclipse-javadoc
# Conflicts:
#	src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2020-09-18 02:27:35 +02:00
Reinier Zwitserloot ea1578a0a9 [tests] ant-based compiling of test infra was failing.
I committed some code to debug classpath issues; this code is no
longer needed and was using java8+ features that aren't available
at compile time in the first place; a simple matter of removing that code
is all that was needed.
2020-09-18 01:03:29 +02:00
Reinier Zwitserloot c10fe50f6a [tests] removed a ridiculously exotic feature that still works, but is too hard to test
Specifically, using as custom logger topic a concatenated string, like literally `"A" + "B"`. It works,
but depending on javac and phase of the moon that ends up as `"A" + "B"` or `"AB"`, and I don't
think it's worthwhile for lombok to try to be consistent in this and test for that.
2020-09-18 01:01:41 +02:00
Reinier Zwitserloot a478fd5679 [tests] fixed a test that fails due to, of all things, a javac bug. 2020-09-18 01:00:46 +02:00
Reinier Zwitserloot 9d45a506b1 [build] eclipse test target for Javac8 fixed
javac8 has a bizarre dependency situation: we need the stubs in src/stubs there to compile, but if they are there
at runtime during a test run of javac8, they take precedence over the JDK's javac (because we include this
as a separate cp entry, and thus it is not a bootclasspath item), and messes everything up.
The fix is to tell eclipse to compile various src/X folders to different 'bin' targets, which required
an update to ivyplusplus as well.

also it was just broken in general, fixed that too :)
2020-09-18 01:00:24 +02:00
Reinier Zwitserloot 007c4e7cb2 Merge pull request #2570 from Rawi01/eclipse-test-fixes
Eclipse test fixes
2020-09-17 22:18:31 +02:00
Reinier Zwitserloot 60d86fab3c Merge pull request #2413 from Rawi01/extensionmethod
Improve ExtensionMethod support in Eclipse
2020-09-17 22:18:11 +02:00
Rawi01 f7f26a9c56 Fix ExtensionMethod for older eclipse version 2020-09-03 10:07:36 +02:00
Rawi01 82ac8aad1d Merge branch 'master' into extensionmethod
Conflicts:
	build.xml
2020-08-31 09:57:29 +02:00
Rawi01 23b80658bc Merge branch 'master' into eclipse-javadoc
Conflicts:
	src/core/lombok/javac/handlers/JavacHandlerUtil.java
	test/core/src/lombok/RunTestsViaEcj.java
2020-08-31 09:38:14 +02:00
Rawi01 54ea7c1c6b [tests] Fix CustomLog tests 2020-08-29 12:16:20 +02:00
Rawi01 6165941f79 [tests] Fix SuperBuilder test 2020-08-29 12:16:19 +02:00
Rawi01 9af2611dce [tests] Fix Delegate tests 2020-08-29 12:10:23 +02:00
Reinier Zwitserloot 9148294f78 [testing] [eclipse] [#2413] Eclipse tests now more expansive
We now test generating a level2-DOM from our level1-AST (eclipse has 3 levels of ASTs, more or less), only if
that is possible, i.e. only if the full eclipse is available. This requires using a test target named `eclipse-X`, and not
one of the `ecjX` ones. This is the change that requires the massive update to the build system. About 6 tests,
including a newly added one about @Delegate, now fail. These failures would usually not cause instant failure in
eclipse, but can cause errors during save actions and will likely mess with other things in weird ways, such as
messing up syntax highlighting.

Yes, this commit now makes a bunch of cases fail the unit tests, but that is representative of actual errors in lombok,
so I'm checking it in as is (without this commit, the problem is still there, the tests are just incapable of detecting it).
2020-08-29 04:14:10 +02:00
Reinier Zwitserloot 7e44900cd3 [docs] confkey addConstructorProperties had wrong docs about its default value 2020-08-29 04:10:29 +02:00
Reinier Zwitserloot dbcdcfbbf7 [trivial] 2020-08-28 04:23:01 +02:00
Reinier Zwitserloot 409f0428c7 Merge pull request #2548 from rosti-il/master
Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745
2020-08-28 00:27:33 +02:00
Reinier Zwitserloot 7f8e15762d [website] [#397] [#2371] added docs for installing in eclipse via p2 2020-08-28 00:15:55 +02:00
Reinier Zwitserloot 6088e6e3d6 [build] added ant website.open
this serves the site locally and opens your browser
2020-08-28 00:15:55 +02:00
Kay Schubert edbfdfe8c5 Issue 2552 - generate class initializer body only after field member injection 2020-08-27 23:52:32 +02:00
Roel Spilker 60a9799c24 Revert "changed arraylist to set"
This reverts commit 273d8fc53c.
2020-08-27 23:43:15 +02:00
Le Beier 273d8fc53c changed arraylist to set 2020-08-27 23:38:23 +02:00
Roel Spilker 9f6c2203c9 trivial - Only assign variable once 2020-08-27 23:15:11 +02:00
Denis Stepanov eb78f5c766 Fix missing parameter names, annotations in following annotation processors 2 2020-08-27 23:10:47 +02:00
Rawi01 74211eb0ae [fixes #2566] Reset constant value set during type resolution 2020-08-27 23:05:48 +02:00
Rawi01 d4bd359d21 [test] [bugfix] Compare full line instead of ignoring the last character 2020-08-27 23:01:05 +02:00
Rawi01 f44c642d40 Use enum instead of Boolean; switch to synchronized map 2020-08-27 22:59:59 +02:00
Rawi01 355ea57b80 Handle each Eclipse ASTs not more than two times (diet + full) 2020-08-27 22:59:59 +02:00
Rawi01 0736f29174 Skip PostCompiler for empty byte arrays 2020-08-27 22:57:07 +02:00
Reinier Zwitserloot 2ac4faf14c [trivial] [changelog] 2020-08-21 00:00:16 +02:00
Reinier Zwitserloot 613ecb0910 [docs] typo-fixes 2020-08-20 23:57:33 +02:00
Rawi01 75b7a88a45 [fixes #2261] Detect static method access properly 2020-08-20 09:53:18 +02:00
Rawi01 4d2ae4ba32 [bugfix] Fix suppressBaseMethods in ecj/eclipse 2020-08-20 09:29:49 +02:00
Rostislav Krasny 79c3d383fd Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745
The change of the TestConfiguration.java is based on the fact that
Git for Windows is configured with 'core.autocrlf=true' by default.
2020-08-18 04:09:25 +03:00
Rawi01 8f14ac7722 Add generated delegate methods to eclipse outline 2020-08-16 18:35:28 +02:00
Rawi01 2b4b5c9835 Support javadoc copying in eclipse 2020-07-29 13:39:42 +02:00
Reinier Zwitserloot 7dfbe4323c [tests] fixed the 'ant test.javac' tests. 2020-07-24 00:35:33 +02:00
Reinier Zwitserloot 18222922da [tests] command line 'ant test.eclipse' fixed 2020-07-24 00:27:36 +02:00
Reinier Zwitserloot 0cbea15cae [trivial] I broke 'ant dist' earlier today 2020-07-24 00:27:36 +02:00
inherithandle 19db4be6e9 [trivial] update javadoc on Builder.java 2020-07-24 00:06:41 +02:00
Reinier Zwitserloot a0eb13a478 [test] bugfix for the 'dist' step 2020-07-23 23:51:50 +02:00
Reinier Zwitserloot 2f397d7c95 [tests] only add agent VM args for ECJ/Eclipse tests 2020-07-23 23:40:33 +02:00
Reinier Zwitserloot c003172205 [bugfix] [javac] LUB types + val
Until recently, we'd 'resolve' LUB (compound) types in val constructs by just taking the first one in the line of interfaces. The problem is, different versions of different compilers use different orderings. In an earlier commit, the eclipse impl gained a new algorithm that is more stable, e.g. by sorting on alphabet. now the javac side has the same algorithm.
2020-07-23 23:33:41 +02:00
Reinier Zwitserloot 5175725eee [trivial] [tests] fixing a broken test 2020-07-23 23:33:41 +02:00