<AWT Dev> Mac OS X 10.10 crash in CInputMethod getNativeLocale

Laurens Holst laurens.nospam at grauw.nl
Mon Aug 24 17:15:42 UTC 2015


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.

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
>>
>



More information about the awt-dev mailing list