JDK-6948101 : [TEST_BUG] java/rmi/transport/pinLastArguments/PinLastArguments.java failing intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-04-28
  • Updated: 2015-02-27
  • Resolved: 2012-07-24
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 6 JDK 7 JDK 8
6u101Fixed 7u21Fixed 8 b49Fixed
Related Reports
Relates :  
Description
The java/rmi/transport/pinLastArguments/PinLastArguments.java regression test
was introduced for CR 6332349.

The test expects a particular instance of java.lang.ref.WeakReference to be
cleared following a call to System.gc(). The instance is not being cleared
so an exception gets thrown.

Comments
SQE OK
27-02-2015

verified with its results in recently nightlys, all passed
09-09-2013

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/97eb7a4b1fdd
14-08-2012

EVALUATION Fix it to make sure the weak-reference is GCed as expected, or test will hang until timeout by jtreg harness. http://hg.openjdk.java.net/jdk8/tl/jdk/rev/97eb7a4b1fdd
18-07-2012