[RFC][icedtea-web]: Set plugin JVM options in itw-settings
Saad Mohammad
smohammad at redhat.com
Mon Dec 3 13:58:03 PST 2012
Hi Adam,
Thanks for the feedback! I decided to go with your recommendation to remove
manual memory allocation/deallocation and took advantage of std::string!
Updated patch is attached.
CHANGELOG
========================================================================
2012-12-03 Saad Mohammad <smohammad at redhat.com>
Added new option in itw-settings which allows users to set JVM
arguments when plugin is initialized.
* netx/net/sourceforge/jnlp/config/Defaults.java (getDefaults):
Added defaults for DeploymentConfiguration.KEY_PLUGIN_JVM_ARGUMENTS.
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
Added new property (KEY_PLUGIN_JVM_ARGUMENTS) which stores the value of
JVM plugin arguments.
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
(createMainSettingsPanel): Added JVM settings to the list of tabs.
(createJVMSettingsPanel): Returns a new JVMPanel object.
* netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java:
JVM settings panel.
* netx/net/sourceforge/jnlp/resources/Messages.properties:
Added a new items (CPJVMPluginArguments, CPHeadJVMSettings,
CPTabJVMSettings).
* plugin/icedteanp/IcedTeaNPPlugin.cc:
(plugin_start_appletviewer): Adds JVM arguments to the commands line list.
(get_jvm_args): Returns JVM arguments set in itw-settings.
* plugin/icedteanp/IcedTeaPluginUtils.cc:
(IcedTeaPluginUtilities::vectorstring_to_vectorgchar): New helper method
which returns a vector of gchar* from the vector of strings passed.
* plugin/icedteanp/IcedTeaPluginUtils.h:
Declaration of IcedTeaPluginUtilities::vectorstring_to_vectorgchar.
========================================================================
--
Cheers,
Saad Mohammad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changelog0-3.patch
Type: text/x-patch
Size: 1514 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121203/9207cb35/changelog0-3.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implementation0-3.patch
Type: text/x-patch
Size: 15527 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121203/9207cb35/implementation0-3.patch
More information about the distro-pkg-dev
mailing list