-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
7
-
x86
-
windows_7
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
The following program compiles without errors, but should not.
interface C {
void foo();
}
class D {
{
C x = null;
x.<String,String>foo();
}
}
REGRESSION. Last worked in version 6u24
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
interface C {
void foo();
}
class D {
{
C x = null;
x.<String,String>foo();
}
}
---------- END SOURCE ----------
A DESCRIPTION OF THE PROBLEM :
The following program compiles without errors, but should not.
interface C {
void foo();
}
class D {
{
C x = null;
x.<String,String>foo();
}
}
REGRESSION. Last worked in version 6u24
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
interface C {
void foo();
}
class D {
{
C x = null;
x.<String,String>foo();
}
}
---------- END SOURCE ----------
- duplicates
-
JDK-8071637 Type Witnesses on non-generic method calls
-
- Closed
-
-
JDK-5081782 type arguments to non-generic methods
-
- Closed
-