[rfc][icedtea-web] bringing applets out of browser (part2)

Jiri Vanek jvanek at redhat.com
Fri Dec 19 12:18:24 UTC 2014


snip
>> }
>>
>>
>> Right now you create a JNLPFile inside of PluginBridge's constructor, grab a
>> few useful things, and then throw it away.
>>
>> Everytime we need more from the JNLPFile, we have to edit the constructor to
>> grab more of it. As well, since PluginBridge extends JNLPFile, all of the
>> methods of JNLPFile can be called, even though the huge majority of them
>> fail to work. This is hugely unintuitive and breaks the whole idea of
>> objects and implementation inheritance.
>>
>> The above change would solve these issues quite easily.
>>
>>
>> Anyways, this isn't related to this patch, just a thought.
>>
>> If you'd like, I can work on something and post for review?


Imho this is much thoughter then it appears. But if you are willing to look into it, I wish you good 
luck! (just pelase post into new thread :) )

J



More information about the distro-pkg-dev mailing list