Re: disable depth
Posted by
Sven Gothel on
Mar 13, 2012; 7:23pm
URL: https://forum.jogamp.org/disable-depth-tp3797369p3823262.html
On 03/10/2012 12:56 AM, stuntman [via jogamp] wrote:
>
>
>
> Wade Walker wrote
>>
>> Are you sure you set up the files for the non-Mac platforms correctly in
>> your JNLP? You said it fails on Ubuntu and says this:
>>
>>
>> stuntman wrote
>>>
>>> nativePrefix = nativeSuffix = .dll
>>>
>>
>> but on Ubuntu I'd expect to see prefix of "lib" and suffix of ".so" -- it
>> looks like it's trying to load the Windows libraries for some reason.
>>
>
> My bad, I wasn't behind the ubuntu pc so I googled the error and copied it,
> but forgot that apparently was produced on a windows pc. Here is the full
> error from my ubuntu pc:
>
>
>
>> OpenJDK Runtime Environment (IcedTea6 1.11pre)
>> (6b23~pre11-0ubuntu1.11.10.2)
>> OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
>> JNLPAppletLauncher: static initializer
>> os.name = linux
>> nativePrefix = lib nativeSuffix = .so
>> java.security.AccessControlException: access denied
>> (java.util.PropertyPermission java.io.tmpdir read)
>> at
>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
This simply looks like you have no permissions to
read the Java property 'java.io.tmpdir'.
Too bad the SecurityException is not really telling us the origin of the
'bad access'.
Are your JOGL JAR's signed ?
Try w/ our test applets and verify.
+++
Our code's privileged access 'decorations' should have been sufficient.
Nevertheless your report triggered me to perform a review and promote
some of the property access code to a new common subclass PropertyAccess.
Within this review result, I have also added 'secure' access to 'java.io.tmpdir',
besides other 'secure' access to properties.
http://jogamp.org/git/?p=gluegen.git;a=commit;h=bab77b637e7cdd327de5f66989fcbfc0298b9b88http://jogamp.org/git/?p=gluegen.git;a=commit;h=f4ac27e177f6deb444280d3b375e7d343e38bd08http://jogamp.org/git/?p=gluegen.git;a=commit;h=eedb4b530fb83fc59a26962bcf7847a1404092a0http://jogamp.org/git/?p=jogl.git;a=commit;h=7d7e7c901d8fe54af1230cbf10e568f1a8433cbe~Sven