[Bug 3709] New: Windows desktop shortcut contains wrong target if javaws.exe is accessible via the path
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Tue Mar 19 17:27:06 UTC 2019
https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3709
Bug ID: 3709
Summary: Windows desktop shortcut contains wrong target if
javaws.exe is accessible via the path
Product: IcedTea-Web
Version: hg
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
Priority: P5
Component: NetX (javaws)
Assignee: jvanek at redhat.com
Reporter: lhersch at dssgmbh.de
CC: unassigned at icedtea.classpath.org
Created attachment 1726
--> https://icedtea.classpath.org/bugzilla/attachment.cgi?id=1726&action=edit
described patch
When javaws.exe comes out of the path, it does not contain any directory part.
When passed it so to the createLink method, the current working directory is
set before that.
Here is a patch that fixes this and a few more things.
- findOnPath returns the full path including directory part
- getJavaWsBin now prefers KEY_JAVAWS_LOCATION before the path (important if
you also have Oracle Java installed)
- on windows, the icon from the jnlp file is also used now for desktop and menu
entry
- the icon is converted to bmp if it is in a format unsupported by windows
- the patch fixes a npe in createWindowsMenu
- Windows menu items can now also be created if it is not intended by the
application
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20190319/279fc595/attachment.html>
More information about the distro-pkg-dev
mailing list