On 8/25/2015 10:42 AM, Alexander Scherbatiy wrote:
On 8/24/2015 8:15 PM, Laurens Holst wrote:
Hi Alexander,

Thanks for looking into this. Indeed Java 6 is not installed on my system currently.

Do you have a suggestion on how to work around the issue, without asking the users to either install Java 6 or change his keyboard layout? Maybe a setting, or by using reflection? As mentioned it works fine when running the jar directly, so maybe there’s a way.

   Here is the answer from Apple java-dev alias [1]:
  -------------------------
Thanks for <rdar://problem/22601863> availableInputMethodLocales method crashes JRS on Mac OS X 10.10.

Unfortunately this crash is present in all versions of JRS going all the way back to the original implementation shipped on OS X 10.6.

This issue has been addressed in OS X 10.11, and a revised version of the JavaRuntimeSupport framework with the fix is part of the Java SE 6 package already posted at <https://support.apple.com/kb/DL1572>.

Since this crash is not a regression, and a fix is already available by installing the deprecated Java SE 6, there isn’t much else we can do. We will not be spinning a software update for this fix due to the low impact so far, and the availability of a fix, even if it means installing an undesirable version of Java. Once OS X 10.11 is generally available, installing it will remove Java SE 6, and also provide a fixed copy of the JavaRuntimeSupport framework.
-------------------------

  [1] http://lists.apple.com/archives/java-dev/2015/Sep/msg00006.html

  Thanks,
  Alexandr.


It seems that running jar directly works fine because the used JDK is built on Mac OS X 10.9 and has the copied libs.

Is the issue reproduced if an osxappbundle is created on Mac OS X 10.9 and called on Mac OS X 10.10?

  Thanks,
  Alexandr.


Regards, and thanks,

~Laurens

Op 24-08-15 om 13:57 schreef Alexander Scherbatiy:
On 8/16/2015 3:06 PM, Laurens Holst wrote:
Regarding the following bug,

https://bugs.openjdk.java.net/browse/JDK-8065550

I encounter the same issue with my own application when using the osxappbundle-maven-plugin (trying to migrate away from the old Java 6 launcher), which is based on the Java Application Bundler. I stumbled upon this report when searching for solutions in Google, unfortunately I can not add comments to the JDK issue tracker so I’ll post them here:

I reliably reproduce this issue under the following conditions:

1. using the Java Application Bundler (it runs fine when running the jar directly), and
2. using the "US (International) - Pc" keyboard layout

I briefly get to see some UI, but the app crashes within a second, even when I do nothing but prompt a dialog.

   Thank you for you report.

It looks like an issue in the JRS library. I sent the request to the java-dev Apple alias: http://lists.apple.com/archives/java-dev/2015/Aug/msg00024.html

Could you look is Java 6 is installed on your system? In my case the crash went away after the Java 6 installation.

  Thanks,
  Alexandr.


~Laurens





Reply via email to