Logo
Explore Help
Register Sign In
MDS/openide
1
0
Fork 0
You've already forked openide
mirror of https://gitflic.ru/project/openide/openide.git synced 2026-01-12 21:37:00 +07:00
Code Issues Packages Projects Releases Wiki Activity
Files
251
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/CapturedBoundOfCapture.java
Anna Kozlova cdb50293f2 capture conversion: ensure captured wildcards are not replaced after creation, so substitution is consistent; at the same time ensure that "?" with upper bound Runnable is equivalent to "? extends Runnable"
2015-05-28 19:42:11 +02:00

10 lines
124 B
Java
Raw Permalink Blame History

interface A<T extends String, K extends T> {
K get();
}
class Test {
void f(A<?, ?> a) {
String s = a.get();
}
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 5584ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API