JDK-8015464 : jp2launcher doesn't pass debug options to client set in _JPI_VM_OPTIONS environment variable
  • Type: Bug
  • Component: deploy
  • Affected Version: 7u25,7u40,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2013-05-28
  • Updated: 2014-03-19
  • Resolved: 2014-03-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 7
7-poolResolved
Related Reports
Duplicate :  
Description
Setting environment variable _JPI_VM_OPTIONS=-agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=y before starting internet browser and launching applet no longer works on Windows7. jp2launcher strips down all insecure VM arguments and "-agentlib" prefix is not listed in SecureVmArgPrefixes array in src\common\share\native\secureArgs.c. Need to investigate why "-agentlib" prefix was not included in the list of allowed VM args: intentionally due to some security issues or it was just missed.
Comments
This behaves as expected for security reasons.
19-03-2014

"-agentlib" prefix was not included in the list of allowed VM args intentionally to fix vulnerability issue
03-07-2013

Moving off 7u40 radar until fix/decision is clear. We would bring back for 7u40 if appro. with justification.
19-06-2013

For development purposes I tried to follow instructions (http://j2se.sfbay.sun.com/web/bin/view/Deployment/Deploy7EngPractices) how to debug client VM and it turned out it doesn't work on Windows 7 platform.
29-05-2013

agentlib is never a secure arg so far. but can you explain the problem you are trying to solve first ? are you trying to find a way to pass in arbitary args via env var for development purpose ? (_JPI_VM_OPTIONS is never a documented/supported args I believe)
28-05-2013