Skip to content

Commit 5b30d78

Browse files
committed
Fix issue with isCapture - test0169
Signed-off-by: Rob Stryker <[email protected]>
1 parent 5c3780f commit 5b30d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacTypeBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ public boolean isCapture() {
15161516
if( this.type instanceof Type.CapturedType )
15171517
return true;
15181518
if( this.type instanceof WildcardType wct) {
1519-
if( wct.isUnbound())
1519+
if( wct.isExtendsBound())
15201520
return true;
15211521
}
15221522
return false;

0 commit comments

Comments
 (0)