equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
916 } |
916 } |
917 return true; |
917 return true; |
918 } else if (strcmp(key, "sun.java.command") == 0) { |
918 } else if (strcmp(key, "sun.java.command") == 0) { |
919 _java_command = value; |
919 _java_command = value; |
920 |
920 |
921 // don't add this property to the properties exposed to the java application |
921 // Record value in Arguments, but let it get passed to Java. |
922 FreeHeap(key); |
|
923 return true; |
|
924 } else if (strcmp(key, "sun.java.launcher.pid") == 0) { |
922 } else if (strcmp(key, "sun.java.launcher.pid") == 0) { |
925 // launcher.pid property is private and is processed |
923 // launcher.pid property is private and is processed |
926 // in process_sun_java_launcher_properties(); |
924 // in process_sun_java_launcher_properties(); |
927 // the sun.java.launcher property is passed on to the java application |
925 // the sun.java.launcher property is passed on to the java application |
928 FreeHeap(key); |
926 FreeHeap(key); |