mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
more accurate processing of class usages in generic bounds: process only those parent classes that really are missing from parents list recursively
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Cleaning output files:
|
||||
out/production/ArgumentContainment3/Sub2.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/Sub2.java
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/ArgumentContainment3/CaptureCreator2.class
|
||||
out/production/ArgumentContainment3/GenericBound.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/CaptureCreator2.java
|
||||
src/GenericBound.java
|
||||
End of files
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class Sub2 extends Parent {
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public class CaptureCreator {
|
||||
public void context(GenericBound<? extends Parent> p) {
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public class CaptureCreator2 {
|
||||
public void context(GenericBound<? extends Sub> p) {
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class GenericBound<T extends Sub2> {
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class Parent {
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class Sub extends Parent {
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class Sub2 extends Sub {
|
||||
}
|
||||
Reference in New Issue
Block a user