JDK-8044734 : javac, bridge methods are not getting the flags from the original method, follow-up
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8,9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-06-03
  • Updated: 2016-05-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_majorUnresolved
Related Reports
Relates :  
Description
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.