On 10/22/2010 6:53 PM, Peter Firmstone wrote:
Patricia Shanahan wrote:
On 10/22/2010 5:12 PM, Peter Firmstone wrote:
Patricia Shanahan wrote:
On 10/22/2010 2:06 AM, Patricia Shanahan wrote:
Does anyone know how to pass JVM parameters to the client JVM that
runs
the actual test code?

My problem has become more specific. I can get arguments in by editing
qa/src/com/sun/jini/qa/resources/qaDefaults.properties, but I need to
embed commas in an argument. The processing between the file and the
java command line uses commas as a separator, and I have not yet found
a way to escape a comma.

$,

It translates:

-Xrunjdwp:transport=dt_socket$,server=y$,address=3408$,suspend=y

to:

-Xrunjdwp:transport=dt_socket=y=3408=y

Which looks as though it is dropping everything from the "$," through
the character before the next "=".

I've also tried "\,", and enclosing the whole argument in various
forms of quotes.

Patricia

It's a long shot, but could you try:

-Xrunjdwp:transport=dt_socket,-Xrunjdwp:server=y,-Xrunjdwp:address=3408,-Xrunjdwp:suspend=y

Worth trying, but fails the way you would expect:

[java] ERROR: JDWP Non-server transport dt_socket must have a connection address specified through the 'address=' option

It rejects whichever I specify first of dt_socket and address, due to the lack of the other.

Looks like it's back to sticking in System.err.printf calls and rebuilding. Slow and inconvenient, but at least it works.

Patricia

Reply via email to