From: Holger Z. <hz...@us...> - 2004-11-03 12:17:32
|
Update of /cvsroot/jake2/jake2/src/jake2/sound/joal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25039/src/jake2/sound/joal Modified Files: JOALSoundImpl.java Log Message: catch UnsatisfiedLinkErrors if no joal libs available Index: JOALSoundImpl.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sound/joal/JOALSoundImpl.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** JOALSoundImpl.java 31 Oct 2004 19:47:52 -0000 1.9 --- JOALSoundImpl.java 3 Nov 2004 12:17:17 -0000 1.10 *************** *** 76,80 **** unpack(); } else if (os.startsWith("Windows")) { ! System.loadLibrary("OpenAL32"); } --- 76,82 ---- unpack(); } else if (os.startsWith("Windows")) { ! try { ! System.loadLibrary("OpenAL32"); ! } catch (Throwable e) {} } *************** *** 87,91 **** Com.Printf(e.getMessage() + '\n'); return false; ! } catch (Exception e) { Com.DPrintf(e.getMessage() + '\n'); return false; --- 89,93 ---- Com.Printf(e.getMessage() + '\n'); return false; ! } catch (Throwable e) { Com.DPrintf(e.getMessage() + '\n'); return false; |