eclipse-jdt / eclipse-jdt/eclipse.jdt.core

`CompletionTests.testBug343342` makes no sense

Open
#3,781 1 comment 0 reactions 1 assignee Claimed by @datho7561 View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

It tests completion at the `|` in the following CU. The linked issue is about completion in case, so I expect this is a bug.

```java
package |test;
public class Try {
void f(int a){
String xyz = null;
final String xyzz = null;
switch (a){
case xy : break;
}
}
}
```

I think this is what is intended to be tested (completion at the `|`):

```java
package test;
public class Try {
void f(int a){
String xyz = null;
final String xyzz = null;
switch (a){
case xy| : break;
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.