JDK-8044364 : [TEST_BUG] runtime/RedefineFinalizer test fails on windows
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2014-05-29
  • Updated: 2017-08-17
  • Resolved: 2014-06-02
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 JDK 9
6u105Fixed 7u91Fixed 8u66Fixed 9 b19Fixed
Related Reports
Relates :  
Relates :  
Description
RULE runtime/RedefineFinalizer/testme.sh LibError agent library failed to init: instr... 
ExitCode: 1 

From log file:
...
adding: MartyrSon.java(in = 1153) (out= 663)(deflated 42%)
adding: vm_version.out(in = 181) (out= 155)(deflated 14%)
Error occurred during initialization of VM
agent library failed to init: instrument
Comments
SQE is ok to take the fix in PSU15_04.
27-08-2015

Adding critical watch since the jdk7/6 backports are related to JDK-8076110, and should be fixed at the same time if possible.
20-08-2015

> Most of problems with shell scripts is result of the fact that nobody care to make shell scripting environment stable and convenient. > We use different shells on different platforms, test_env.sh is rather limited etc. That is exactly where the problem is. We have no way of making these environments stable. I thought that was painfully obvious by now... We have other tests that create agent jars from Java code. Perhaps lots of code, but it could be reused.
30-05-2014

The root cause is: Error opening zip file or JAR manifest missing : /cygdrive/c/local/aurora/sandbox/results/workDir/runtime/RedefineFinalizer/testme/testcase.jar ${PWD} contains cygwin path that java can't recognize.
30-05-2014

This is a new test that was just added by the fix for JDK-6904403.
29-05-2014