Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Os attribute of Resources is checked against the wrong thing

open
nobody
None
5
2006-05-30
2006-05-30
Anonymous
No

The Os attribute of resources is checked against the
system property os.name.

This causes problems for me, because the sun java
webstart expects the os attribute to be "Windows", yet
the os.name is "Windows XP".

I'm not sure if the correct fix is to check against the
first part of the os.name or to turn the os.name into a
more general platform name and compare that.

I've been running with java 1.5

My email address is i at kybernetikos.com

Discussion

  • Logged In: NO

    It appears that the problem is that the os.name is checked
    to see if it is a prefix of any of the os attributes,
    whereas in fact it should be the other way round - the os
    attributes should be checked to see if they are prefixes of
    the os.name.

    Who should I submit the patch to?

    Kybernetikos