[rfc][icedtea-web] add switch to trim main-class attribute
Jacob Wisor
gitne at gmx.de
Sat Nov 7 14:32:10 UTC 2015
On 11/07/2015 at 03:19 PM Jacob Wisor wrote:
> On 11/07/2015 at 09:25 AM Jiri Vanek wrote:
>> On 11/06/2015 10:35 PM, Jacob Wisor wrote:
>>> On 11/06/2015 at 03:41 PM Jiri Vanek wrote:
>> YES! Only leading and trailing whitesapces before and after value of
>> mian-class attribute.
>>> Or, is it about the "Main-Class" attribute name? Could you please give some
>>> examples?
>> no!
>>
>> main-class="some.class" => String "some.class" will be used in ITW (now
>> identical "some.class" is)
>
> Should get accepted.
>
>> main-class="so me.cl ass" => String "some.class" will be used in ITW (now
>> identical "so me.cla ss" is)
>
> Must NOT get accepted.
>
>> main-class=" some.class" => String "some.class" will be used in ITW (now "
>> some.class" is)
>
> Should get accepted.
>
>> main-class=" some.class " => String "some.class" will be used in ITW (now "
>> some.class " is)
>
> Should get accepted.
>
>> main-class="some.class " => String "some.class" will be used in ITW (now
>> "some.class " is)
>
> Should get accepted.
>
>> main-class=" so me.cl ass " => String "so me.cla ss" will be used in ITW (now "
>> so me.cla ss " is)
>
> Must NOT get accepted.
Another case came just to my mind:
main-class="some .class . Name"
This /may/ get accepted if the dot character (. FULL STOP U+002E) has the
semantics of an operator in fully qualified class names according to the Java
Specification. But I am not sure about that. You'd have to look deeper into it.
Regards,
Jacob
More information about the distro-pkg-dev
mailing list