-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Not an Issue
-
Affects Version/s: 1.4.0
-
Fix Version/s: None
-
Component/s: specification
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:solaris_8
javac treats final parameters as non-blank finals, performing DA/DU
analysis on them. Some other compilers don't. The jacks test 16.1.5-not-assignable-5 checks for this. Which is right?
The following test distinguishes the compiler behavior.
class T {
public static void main(final String[] args) {
if (true ? true : (args = null));
}
}
similarly, the exception parameter declaration in a catch block.
analysis on them. Some other compilers don't. The jacks test 16.1.5-not-assignable-5 checks for this. Which is right?
The following test distinguishes the compiler behavior.
class T {
public static void main(final String[] args) {
if (true ? true : (args = null));
}
}
similarly, the exception parameter declaration in a catch block.