JDK-8058728 : TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 8u40,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-09-18
  • Updated: 2016-05-27
  • Resolved: 2014-09-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.
JDK 8 JDK 9
8u40Fixed 9 b33Fixed
Related Reports
Relates :  
Description
Testsuite name: Regression
Test name: java/lang/invoke/LFCaching/LFGarbageCollectedTest.java

Need to fix the test by skipping arrayElementSetter and arrayElementGetter methods, because their lambda forms are stored in a static field and are not cleaned by GC.
Comments
http://cr.openjdk.java.net/~kshefov/8058728/webrev.00
19-09-2014

ILW=Test need update, this test always, none = MMH = P3
19-09-2014

RULE java/lang/invoke/LFCaching/LFGarbageCollectedTest.java any any
18-09-2014