JDK-8008747 : Regression: 5 jck tests compile unexpectedly
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2013-02-22
  • Updated: 2013-02-26
  • Resolved: 2013-02-25
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.
JDK 8
8Resolved
Related Reports
Relates :  
Description
The tests are:
    lang/EXPR/expr692/expr69201/expr69201.html
    lang/EXPR/expr692/expr69201/expr69201a.html#expr69201src
    lang/EXPR/expr720/expr72003/expr72003.html
    lang/LMBD/lmbd024/lmbd02401me/lmbd02401me.html
    lang/LMBD/lmbd024/lmbd02401md/lmbd02401md.html

The failure mode is:
   test result: Failed. compilation did not fail as expected

I believe these failures started with this rev:
changeset:   1556:2154ed9ff6c8   
user:        mcimadamore
date:        Tue Feb 12 19:25:09 2013 +0000
summary:     8007464: Add graph inference support
Comments
The following tests are known failures because of new features in JDK 8 IMPROVED INFERENCE lang/EXPR/expr691/expr69103/expr69103.html: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: runCompilerTest lang/EXPR/expr691/expr69103/expr69103a.html#expr69103src: Failed. GRAPH INFERENCE FAILED: lang/EXPR/expr692/expr69201/expr69201.html FAILED: lang/EXPR/expr692/expr69201/expr69201a.html#expr69201src FAILED: lang/EXPR/expr720/expr72003/expr72003.html EFFECTIVELY FINAL ON INNER CLASSES lang/ICLS/icls003/icls00391m2/icls00391m2.html: Failed. compilation did not fail as expected lang/ICLS/icls003/icls00391m4/icls00391m4.html: Failed. compilation did not fail as expected lang/ICLS/icls003/icls00391m6/icls00391m6.html: Failed. compilation did not fail as expected lang/ICLS/icls003/icls00391m8/icls00391m8.html: Failed. compilation did not fail as expected lang/ICLS/icls080/icls08002/icls08002.html: Failed. compilation did not fail as expected So it can be seen that the new failures are expected. I will look at the two lambda tests to check if they too are test problems.
25-02-2013

It seems to me that all the tests in this report need to be updated to match JDK 8 behavior. Please reopen or contact me if you feel this is not the case.
25-02-2013

Those tests: lang/LMBD/lmbd024/lmbd02401me/lmbd02401me.html lang/LMBD/lmbd024/lmbd02401md/lmbd02401md.html look like test problems - it seems like those tests are still assuming that a functional descriptor cannot be a generic method - this restriction has been lifted for method/constructor references.
25-02-2013