-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P2
-
None
-
Affects Version/s: 1.4.1
-
Component/s: tools
-
generic
-
generic
Compilation of the following code should fail, but it is passing with b08 of Hopper.
class DU3 {
void f1() {
final int i;
assert true : i=5;
i=6;
}
}
*************
Workspace location:
===================
/net/sqindia.india.sun.com/export/disk03/coresqe/Tools/hopper/testbase/src/tools/javac/devRegTests
Testcase names:
===============
<WORKSPACE>/assert/DU3.java
<WORKSPACE>/DefiniteAssignment/DUAssert.java
NOTE: The functionality works fine till b07 of Hopper.
class DU3 {
void f1() {
final int i;
assert true : i=5;
i=6;
}
}
*************
Workspace location:
===================
/net/sqindia.india.sun.com/export/disk03/coresqe/Tools/hopper/testbase/src/tools/javac/devRegTests
Testcase names:
===============
<WORKSPACE>/assert/DU3.java
<WORKSPACE>/DefiniteAssignment/DUAssert.java
NOTE: The functionality works fine till b07 of Hopper.
- relates to
-
JDK-4478838 further assert/DU problems.
-
- Closed
-