Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8044734

javac, bridge methods are not getting the flags from the original method, follow-up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 9
    • tools

      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.

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: