-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b120
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8030340 | 8u5 | Vicente Arturo Romero Zaldivar | P3 | Resolved | Fixed | b01 |
This code:
public class Test
{
static int a, b, c, d;
public static void main(String[] args)
{
boolean cond = (a < b & c > d);
}
}
compiles in 7 but fails in 8. The look ahead modifications made to the parser to process lambdas may have provoked this issue.
reported in lambda-dev list, original mail: http://mail.openjdk.java.net/pipermail/lambda-dev/2013-November/011505.html
public class Test
{
static int a, b, c, d;
public static void main(String[] args)
{
boolean cond = (a < b & c > d);
}
}
compiles in 7 but fails in 8. The look ahead modifications made to the parser to process lambdas may have provoked this issue.
reported in lambda-dev list, original mail: http://mail.openjdk.java.net/pipermail/lambda-dev/2013-November/011505.html
- backported by
-
JDK-8030340 javac produces a compile error for valid boolean expressions
- Resolved