-
Bug
-
Resolution: Unresolved
-
P4
-
8, 9
Previous fix for JDK-8042785 broke several tests and was delta applied. A better fix, or a won't fix decision, should be considered and provided. If you apply the original fix for JDK-8042785 and compile this code:
import java.util.stream.IntStream;
public class Test {
public static void main(String[] args) {
IntStream.of(1, 2, 3, 4).sum();
}
}
then the command:
java Test
fails with a verification error.
import java.util.stream.IntStream;
public class Test {
public static void main(String[] args) {
IntStream.of(1, 2, 3, 4).sum();
}
}
then the command:
java Test
fails with a verification error.
- relates to
-
JDK-8042785 javac, bridge methods are not getting the flags from the original method
-
- Closed
-