-
ConvertForLoopOperation uses the type of `.size()` method on collections to determine the type. While it's fine with JDT, Javac does not consider the type argument in the `.size()` method, simply beca…
-
Given,
```
public class X {
public static int foo(Integer myInt) {
return switch (myInt) {
case int i -> i;
default -> 0;
};
}
…
-
JDT produces IProblem.PackageIsNotExpectedPackage when the folder doesn't match the package declaration. Javac doesn't provide that.
An extra check should probably be added to create this problem in …
-
Given:
```java
public class Test {
public static void main(String[] args) {
Test test = new Test();
}
}
```
The javac plugin reports no problem:
while ECJ complains about generics:
…
-
```
!MESSAGE Failed to resolve binding
!STACK 0
java.lang.IllegalStateException: java.lang.OutOfMemoryError: Java heap space
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacT…
-
Compile err: [javac: invalid flag: Files\Java\jdk1.8.0_211\jre\lib\resources.jar;D:\repository\commons-dbutils\commons-dbutils\1.6\commons-dbutils-1.6.jar;D:\repository\com\tongtech\tools\security-met…
-
This issue is used to track some comments/progress ideas about making JDT-LS pass with Javac.
The reference job is https://ci.eclipse.org/ls/job/jdt-ls-javac/
Most tests unlisted here require fixe…
-
```
!ENTRY org.eclipse.jdt.core 4 0 2024-09-04 14:25:15.616
!MESSAGE compilation failed
!STACK 0
com.sun.tools.javac.processing.AnnotationProcessingError: java.lang.IllegalArgumentException: 'tl…
-
With Bazel 7.3.1 I am seeing build failing with the following error. I can't paste the source code here since that's confidential. But the line being reported is inside an enum declaration with dozens…
-
**Describe the bug**
In a situation where there is no compiler, the plugin does not show an error.