Skip to main content

Source code revision


summary: Fix for 16600
revision: 46781
author: tjquinn
date: 2011-05-11 17:08:09 UTC (4 years)
message: Fix for 16600

A recent change causes the first java invocation (of CLIBootstrap) to write the agent arguments to a temp file, rather than pass them on the generated command line, because of apparent limitations in the length of the -javaagent token in Java on AIX. The earlier code escaped $ characters in file paths that were added to the command line (any env vars would already have been substituted by the shell invoking Java to run CLIBootstrap, so any remaining $ symbols are actually part of the path and need to be preserved). Such escaping is no longer needed for agent arguments, now that they are written to a temp file, but the code continued to escape them, causing problems when those file paths were used by the ACC.

With this change CLIBootstrap no longer escapes $ symbols written to the agent arguments temp file.

Approved: Sathyan
Tests: QL, deployment devtests
Change Path Actions
M branches/3.1.1/appclient/client/acc/src/main/java/org/glassfish/appclient/client/
Please Confirm