Details
-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
x86
-
windows_xp
Description
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
When using generic interfaces which "implements" another interface (a syntax error), the compiler freezes.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile the test case code. Save it in a file "Y.java".
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The compiler should emmit an syntax error and finish the compiling with an error status.
ACTUAL -
The compiler freezes and never finish the compiling.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
class C {}
interface Y<S> {}
interface X<B extends C> implements Y<B> {}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Workaroud? Kill the compiler and fix the code :)
Release Regression From : 5.0u11
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
A DESCRIPTION OF THE PROBLEM :
When using generic interfaces which "implements" another interface (a syntax error), the compiler freezes.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile the test case code. Save it in a file "Y.java".
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The compiler should emmit an syntax error and finish the compiling with an error status.
ACTUAL -
The compiler freezes and never finish the compiling.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
class C {}
interface Y<S> {}
interface X<B extends C> implements Y<B> {}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Workaroud? Kill the compiler and fix the code :)
Release Regression From : 5.0u11
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
Attachments
Issue Links
- duplicates
-
JDK-6481701 annot00701.html, annot01602m3.html and intf01004m1.html hang while compiling (b102)
-
- Closed
-