JavaCompilerCore/resources/bytecode/javFiles/Bug285.jav
Daniel Holle 65a71ebe0c
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Add test for #285 and partially fix it
2024-03-08 14:00:52 +01:00

15 lines
293 B
Java

import java.util.Optional;
import java.lang.Integer;
class StaticClass {
static StaticClass barbar() {
return new StaticClass();
}
}
public class Bug285 {
void foo() {
Optional<Integer> opt = Optional.empty();
StaticClass b = StaticClass.barbar();
}
}