JavaCompilerCore/resources/bytecode/javFiles/Bug285.jav

15 lines
314 B
Plaintext
Raw Normal View History

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