<AWT Dev> Fwd: RFR: make life easier for general java plugin
jvanek at redhat.com
Thu Jun 19 15:26:11 UTC 2014
On 06/19/2014 04:46 PM, Petr Pchelko wrote:
> Hello, Jiri.
> Sorry for the delayed answer.
np :) Thank you for Answer!
> From the code point of view you current change looks OK to me. It's an internal package and we can change the access modifier easily.
> The more general question is what are you going to achieve by making this change?
> In JDK-9 we would have modules and you will not be able to use the sun.* packages at all, so this changeset is useless for JDK9.
> Do you want this to go to JDK8?
Well I would guess it needs to go to jdk9 first, and then to jdk8, and maybe also to jdk7.
I would be happy to have it in all three :) (but yes, 8 is priority) And I also guess that it can
not go to 8 without being in 9 (?).
I know that in jdk9 the modules are coming, and that this will become an serious issue. The API
suggested in original discussion will be the only chance.
> In the original discussion there was a suggestion about providing a standard public interface for alternative plugins.
> This path looks more promising to me, because it will work in JDK9. Did any progress happen in that direction?
Nope. My Apologies. I will focus on this API in close future. Actually I'm not sure where to begin,
but also I guess Mario will be able to provide those hints. In meantime this one liner would be
nice to have.
For now, I'm going to derive the API from original plugin-applet-hole patch little bit reduced by
experience from 
Best regards from CZ, and thank you for trying to help us.
> Thank you.
> With best regards. Petr.h
> On 19 июня 2014 г., at 18:35, Jiri Vanek <jvanek at redhat.com> wrote:
>> On 06/16/2014 11:34 AM, Jiri Vanek wrote:
>>> On 05/21/2014 05:02 PM, Jiri Vanek wrote:
>>>> IcedTea-Web  have now patch  from  thread, to work pretty smooth with all Icedteas, all
>>>> Openjdks and all Oracle javas. It even do work with IBM java.
>>>> However, we needed to include few lines of copypasted code  line 274-283. Well it is not so much,
>>>> but is potentially dangerous.
>>>> If this mini changeset - http://jvanek.fedorapeople.org/oracle/jdk9/applet-minipatch/1/webrev/ may
>>>> go in, it would be awesome and will make icedtea-web true Openjdk plugin. Do you think it is
>>>> Just note - there already was a discussion about unnecessary complex version of similar patch - 
>>>> thread. As result it forbid any touches to sun.applet package. However current webrev do not add any
>>>> more visibility. It changes from private to package private. I hope it is much more suitable
>>>> I sent this message originally to jdk9-dev.. It/I was wrong I guess. Sorry
>>>> Best regards,
>>>>  http://icedtea.classpath.org/wiki/IcedTea-Web
>>>>  http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-May/027577.html thread
>>>>  http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-January/000320.html
More information about the awt-dev