15 lines
314 B
Plaintext
Raw Normal View History

2024-03-08 14:00:52 +01:00
import java.util.Optional;
import java.lang.Integer;
2024-03-14 13:50:56 +01:00
public class StaticClass {
public static StaticClass barbar() {
2024-03-08 14:00:52 +01:00
return new StaticClass();
}
}
public class Bug285 {
2024-03-14 13:50:56 +01:00
public void foo() {
2024-03-08 14:00:52 +01:00
Optional<Integer> opt = Optional.empty();
StaticClass b = StaticClass.barbar();
}
}