Mantis - Resin
Viewing Issue Advanced Details
1211 minor always 06-23-06 06:18 06-26-06 19:09
anonymous  
ferg  
normal  
closed 3.0.19  
fixed  
none    
none 3.0.20  
0001211: Support Java 5 command line options in bin/wrapper.pl
The resin java wrapper.pl does not recognize some new java 5 options, for example -javaagent. Please accept the new options in the wrapper. From what I see, these are new options. This list is not exhaustive, since I don't have an older java man page to compare to.
-javaagent
-agentlib
-agentpath
--- wrapper.pl.orig 2006-06-23 15:11:45.972244168 +0200
+++ wrapper.pl 2006-06-23 15:10:47.244172192 +0200
@@ -242,6 +242,11 @@
 
     shift(@ARGV);
     }
+ elsif ($ARGV[0] =~ "^-javaagent:") {
+ $val = $ARGV[0];
+ $JAVA_ARGS .= " " . $val;
+ shift(@ARGV);
+ }
     
     elsif ($ARGV[0] eq "-h" || $ARGV[0] eq "-help" || $ARGV[0] eq "help") {
     &usage();

There are no notes attached to this issue.