mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 10:23:55 +00:00
1b534d17d3
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better, which cannot be applied to ecj as you get load errors (javadoc not a thing there). As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues). The tests now marked as eclipse only don't fail on ecj, but they don't generate the same result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir instead, but that's perhaps going overboard.
18 lines
608 B
Java
18 lines
608 B
Java
//platform !eclipse: Requires a 'full' eclipse with intialized workspace, and we don't (yet) have that set up properly in the test run.
|
|
//skip compare content: This test is to see if the 'delegate recursion is not supported' error pops up.
|
|
import lombok.experimental.Delegate;
|
|
class DelegateRecursionOuterMost {
|
|
@Delegate
|
|
private final DelegateRecursionCenter center = new DelegateRecursionCenter();
|
|
}
|
|
|
|
class DelegateRecursionCenter {
|
|
@Delegate
|
|
private final DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost();
|
|
}
|
|
|
|
class DelegateRecursionInnerMost {
|
|
public void innerMostMethod() {
|
|
}
|
|
}
|