File tree Expand file tree Collapse file tree
nullaway/src/test/java/com/uber/nullaway/jspecify Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1005,8 +1005,9 @@ static class Analysis<
10051005 .doTest ();
10061006 }
10071007
1008+ /** ensures we avoid a crash related to wildcards when wildcard handling is disabled */
10081009 @ Test
1009- public void crasherOutsideExperimental () {
1010+ public void methodRefParameterSuperWildcardWithHandlingDisabled () {
10101011 makeTestHelperWithArgs (
10111012 List .of (
10121013 "-XepOpt:NullAway:OnlyNullMarked=true" ,
@@ -1032,8 +1033,9 @@ private static RuntimeException throwAsUncheckedException(Throwable throwable) {
10321033 .doTest ();
10331034 }
10341035
1036+ /** reduced from a crasher found when checking junit */
10351037 @ Test
1036- public void anotherCrasher () {
1038+ public void methodRefReturnUnboundedWildcard () {
10371039 makeHelper ()
10381040 .addSourceLines (
10391041 "Test.java" ,
You can’t perform that action at this time.
0 commit comments