JDK-8333664: icon path not resolved relatively from .properties file any more
Alexey Semenyuk
alexey.semenyuk at oracle.com
Wed Oct 1 16:34:18 UTC 2025
Hi Oliver,
Thank you for reporting the issue. You hit the right person with it.
I filed https://bugs.openjdk.org/browse/JDK-8369008 on your behalf.
Should you have another jpackage question/bug report, please write to
core-libs-dev at openjdk.org mail list. This way you will get prompt
response even if one of jpackage maintainers is not available.
- Alexey
On 10/1/2025 2:37 AM, Oliver Kopp wrote:
> Dear Alexey,
>
> I am one of the maintainers of JabRef, an open source JavaFX
> application aiming to educate newcomers on Java.
>
> I am writing you since I think, I have an issue introduced via
> https://bugs.openjdk.org/browse/JDK-8333664.
>
> In JDK24, when on macOS, using jpackage, and building a DMG, there is
> the possibility to provide a .properties file using
> "--file-associations". There I have "icon=jabref.icns". When building
> with JDK24, everything works fine. With JDK25, I get
> "java.nio.file.NoSuchFileException: jabref.icns".
>
> In JDK25, when giving a relative path from the directory where
> jpackage is called, it works.
>
> The icon file is placed in the same directory as the ".properties"
> file. - I think, the path given in the .properties file should be
> resolved relatively from the path of that file - and not from the
> directory where jpackage is started.
>
> Are you the right person to ask for support or should I mail this to
> another place?
>
> TYIA and greetings,
>
> Oliver
>
> ---
>
> https://github.com/koppor/
More information about the core-libs-dev
mailing list