Commit Graph
3017 Commits
Author SHA1 Message Date
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 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
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
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
Reinier Zwitserloot e6cbb7fbe6 [tests] [trivial] stop printing the javac version
...  when running javac tests
2020-07-23 23:33:41 +02:00
Rawi01 b1f6372b35 [fixes #2300] Keep method argument positions for lazy getter initializer 2020-07-23 22:23:55 +02:00
Rawi01 ce92389da7 [fixes #977] Set generated flag for annotation names 2020-07-12 01:22:38 +02:00
Reinier Zwitserloot 4fdcdd126a [test] this covers more eclipse versions 2020-07-10 02:57:45 +02:00
Reinier Zwitserloot 1fd2401bad [test] more flexible options for limiting your tests. 2020-07-10 02:57:45 +02:00
Reinier Zwitserloot 32e7cd1857 [bugfix] eclipse version differences in constants for registering operator type 2020-07-10 02:57:45 +02:00
Reinier Zwitserloot 857a57cb16 [bugfix] eclipse version differences for weird LUB types 2020-07-10 02:57:45 +02:00
Roel Spilker baa3848498 fix assertion error if the param.sym is null 2020-07-09 22:53:44 +02:00
Roel Spilker 2e08e49ed7 fix typo in printing switch expressions 2020-07-09 22:49:21 +02:00
Rawi01 ab7970b259 Remove unnecessary list copy 2020-07-09 22:04:23 +02:00
Rawi01 586af27800 Replace JavacAst list with single object iteration to save some memory 2020-07-09 22:04:23 +02:00
Reinier Zwitserloot 88d4c1e54c [build] [wip] the eclipse debug targets still aren't entirely correct. 2020-07-03 17:50:44 +02:00
Reinier Zwitserloot 933d75c2fe [test] [bugfix] far too few tests were being selected for the 'javac' target. 2020-07-03 05:34:31 +02:00