Commit b51e34b
Fix ECJ type inference error in lambda test fixtures
Add explicit type witness to Arrays.sort calls to avoid ECJ type
inference ambiguity with Comparator<? super T> wildcards. The PR's
change to use BUILD_RELEVANT_NAMESPACES in addTransitiveDependenciesWithForbiddenAccess
changes the classpath composition, exposing a stricter ECJ type
inference behavior for lambdas with explicitly typed parameters.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3123b7c commit b51e34b
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- apitools/org.eclipse.pde.api.tools.tests/test-builder/usage/java8/lambda
apitools/org.eclipse.pde.api.tools.tests/test-builder/usage/java8/lambda/testLambdaExpression.java
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments