mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
testdata for IDEA-150754
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.io.Serializable;
|
||||
abstract class Issue4 {
|
||||
|
||||
public void merge(Descriptor<?> descriptor) {
|
||||
put((Descriptor<Serializable>) descriptor, get(descriptor));
|
||||
}
|
||||
|
||||
public abstract <T extends Serializable> void put(Descriptor<T> key, T value);
|
||||
public abstract <T extends Serializable> T get(Descriptor<T> key);
|
||||
}
|
||||
|
||||
class Descriptor<T extends Serializable> {}
|
||||
Reference in New Issue
Block a user