[RFC][icedtea-web]: Set plugin JVM options in itw-settings

Jiri Vanek jvanek at redhat.com
Thu Apr 4 01:27:09 PDT 2013


On 04/03/2013 06:32 PM, Adam Domurad wrote:
> On 12/05/2012 01:26 PM, Saad Mohammad wrote:
>> On 12/05/2012 09:26 AM, Adam Domurad wrote:
>>> On 12/04/2012 04:25 PM, Saad Mohammad wrote:
>>>> Hi Adam,
>>>>
>>>> Thanks for all the tips and tricks around C++. Updated patch is attached!
>>>> I'm starting to enjoy C++ as things start working more correctly now. :)
>>> Good to hear :)
>>>
>>>> [..snip..]
>>>> +  }
>>>> +
>>>> +  tokenOutput = IcedTeaPluginUtilities::strSplit(output, " \n");
>>>> +
>>>> +  if (!tokenOutput->empty() && *tokenOutput->at(0) =="null")
>>>> +  {
>>>> +    delete tokenOutput->at(0);
>>>> +    tokenOutput->erase(tokenOutput->begin());
>>>> +  }
>>> A comment here about why you're deleting this token would be nice.
>>>
>>> Otherwise, I have no further torture to inflict on you :) Looks good to me now.
>>> If you have tested it to your satisfaction, OK for HEAD.
>>>
>>> Thanks,
>>> -Adam
>>>
>>>
>> Thanks again for all the feedback!
>> Pushed: <http://icedtea.classpath.org/hg/icedtea-web/rev/141cb4463629>
>>
>
> I would like to propose the patch + some clean-up that was eventually done for back-port to 1.3.
> The clean-up simply extracted common elements from an if block and the else block. It was done as a
> part of Jiri's code-coverage instrumentation patch.
>
> Some basic testing verifies that the jvm arguments are applied (putting gibberish is easiest). I
> have also read over the resulting code, and it checks out to me.
>
> Thanks,
> -Adam

Oh how I wish an reproducer for this in head...  When there will be time it would be nice to have 
working reproducer in suite for  for RHU issue.

Anyway ok for 1.3

Thanx for it,
   j.



More information about the distro-pkg-dev mailing list