[icedtea-web] RFC: fix explanation for JDK_UPDATE_VERSION in makefile

Omair Majid omajid at redhat.com
Wed Mar 30 13:59:50 PDT 2011


On 03/30/2011 04:42 PM, Dr Andrew John Hughes wrote:
> On 16:02 Wed 30 Mar     , Omair Majid wrote:
>> Hi,
>>
>> The attached patch fixes the explanation for JDK_UPDATE_VERSION in
>> Makefile.am. The JDK_UPDATE_VERSION does not affect the plugin detector;
>> the plugin detector still complains about an out-of-date plugin.
>> Updating the JDK_UPDATE_VERSION is also not required if Oracle releases
>> a JDK update past 50.
>>
>
> It does? Last time I tried it didn't, but it's a long time since I've tested the plugin.
>

Yes, I just confirmed it. The plugin detector shows "Version 6 Update 
22". I suppose it does the equivalent of 
System.getProperty("java.version") to find out the version.

> I always wondered why it was 50 and not 99 but if it doesn't matter anyway...

Yeah, I dont think it matters. You can see a human-readable version of 
the Deployment Toolkit script at http://www.java.com/js/deployJava.txt 
(licensed under what looks like a 3-clause BSD license). It obtains 
version strings from plugin mime types and it says "Version strings are 
of the form #.#[.#[_#]]". So it needs to see something after the 1.6.0_ 
to identify it as a valid JRE version.

Cheers,
Omair



More information about the distro-pkg-dev mailing list