mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
javac 1.7 bug workaround: give error for language level 1.7 despite of java 1.8 would compile the code (IDEA-166358)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
void foo() {
|
||||
set<error descr="'set(java.util.List<java.lang.String>)' in 'Test' cannot be applied to '(java.util.ArrayList<java.lang.Object>)'">(new ArrayList<>(new Vector()))</error>;
|
||||
}
|
||||
|
||||
void set(List<String> list) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user