A DESCRIPTION OF THE PROBLEM :
As recommened by Eclipse IDE Support, I'd like to report my issue to javac team.
See details, attached source code and analysis already done by Eclipse team here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=536978
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile attached java code
https://bugs.eclipse.org/bugs/attachment.cgi?id=274960
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
javac should generate compilation error the same as Eclipse does:
>> The return type is incompatible with AbstractDemo<Request,Response>.test(Request)
ACTUAL -
javac compiles the code without any errors
---------- BEGIN SOURCE ----------
Source code is attached to Eclipse Bug 536978
https://bugs.eclipse.org/bugs/show_bug.cgi?id=536978
Direct link to the attachment:
https://bugs.eclipse.org/bugs/attachment.cgi?id=274960
---------- END SOURCE ----------
FREQUENCY : always
As recommened by Eclipse IDE Support, I'd like to report my issue to javac team.
See details, attached source code and analysis already done by Eclipse team here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=536978
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile attached java code
https://bugs.eclipse.org/bugs/attachment.cgi?id=274960
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
javac should generate compilation error the same as Eclipse does:
>> The return type is incompatible with AbstractDemo<Request,Response>.test(Request)
ACTUAL -
javac compiles the code without any errors
---------- BEGIN SOURCE ----------
Source code is attached to Eclipse Bug 536978
https://bugs.eclipse.org/bugs/show_bug.cgi?id=536978
Direct link to the attachment:
https://bugs.eclipse.org/bugs/attachment.cgi?id=274960
---------- END SOURCE ----------
FREQUENCY : always
- csr for
-
JDK-8214729 Javac compiles source code despite illegal use of unchecked conversions
-
- Closed
-
- relates to
-
JDK-8167316 8.4.5: Clean up return-type-substitutable definition
-
- Open
-
-
JDK-8215625 javax/sql/testng/util/xxxxx.java tests compilation failed after JDK-8207224
-
- Closed
-
-
JDK-8214700 Compilation fails when extend and implement same method signature with generics
-
- Open
-
-
JDK-8215645 follow-up for JDK-8207224 which had to be delta applied
-
- Open
-