<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1353</bug_id>
          
          <creation_ts>2017-03-30 15:29:43 +0200</creation_ts>
          <short_desc>java.lang.UnsatisfiedLinkError for gluegen-rt.dll due to localized tempdir name</short_desc>
          <delta_ts>2019-03-30 06:13:15 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>util</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1366</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randolf Schultz">randolf.schultz</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6029</commentid>
    <comment_count>0</comment_count>
    <who name="Randolf Schultz">randolf.schultz</who>
    <bug_when>2017-03-30 15:29:43 +0200</bug_when>
    <thetext>Greetings,

when we set the default locale of our application to &quot;hindi&quot; (on a non
hindi Windows), JOGL fails to load with
-snip-
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\redacted\AppData\Local\Temp\jogamp_????\file_cache\jln233449649495440797\jln200071770090761889\gluegen-rt.dll: Can&apos;t find dependent libraries
-snap-

The ???? are localized numbers (in hindi) which some other part of
the system probably can not cope with.

Is changing
String.format(&quot;_%04d&quot;, i);
to
String.format(null, &quot;_%04d&quot;, i);
in
java/com/jogamp/common/util/IOUtil.java/getSubTempDir()
a viable fix?

Note that since our build is now completely Maven based, we use JOGL 2.3.1,
so that we can not easily test the bug on current versions, but judging
from the current source code, we feel this problem persists...

regards,
Randolf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6037</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2017-04-20 15:50:44 +0200</bug_when>
    <thetext>I don&apos;t understand why testing against JOGL 2.3.2 is difficult for you.

I&apos;m not sure that your fix is viable as it would behave like no locale would be taken into account. I have to investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6171</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-03-30 05:59:13 +0100</bug_when>
    <thetext>Randolf, you probably found a good one. 
I have generalized the issue in Bug 1366 and a fix will be underway for version 2.4.0.
Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6173</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-03-30 06:13:15 +0100</bug_when>
    <thetext>Fixed Bug 1366 

I close this one now. Please reopen if not fixing the issue at hand.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>