Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I'm seeing the following exception in my applet:
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "jogl.debug.TextRenderer" "read") If I remove my use of com.jogamp.opengl.util.awt.TextRenderer, the problem goes away. Using Java 7, I get the same behavior on Mac and Windows. Any ideas what's going on? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I'm using the latest version from http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar. I've followed the example on this page: https://jogamp.org/wiki/index.php/Using_JOGL_in_Java_Web_Start#Base_class
It's a pretty big application, using lots of JOGL features -- everything works, except for the use of TextRenderer. Any help would be appreciated. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Correction, following the example on this page: http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
On 07/12/2013 03:12 PM, martinezmj [via jogamp] wrote:
> Correction, following the example on this page: > http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet Who sets or reads property 'jogl.debug.TextRenderer' ? I assume we do ? :) In that case, it should have been allowed. Note: You cannot set this property in an applet/JNLP, but you need to use what we call jnlp. aliasing, i.e. you need to set: 'jnlp.jogl.debug.TextRenderer' in your applet html tag or JNLP file. ~Sven |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
More specifically, what do I need to add to my JNLP? I've tried the following, but get the same behavior:
<property name="jnlp.jogl.debug.TextRenderer" value="all"/> <property name="jnlp.jogl.debug.TextRenderer" value="true"/> Yes, I see this property being used in the first line of the class, here: https://github.com/sgothel/jogl/blob/master/src/jogl/classes/com/jogamp/opengl/util/awt/TextRenderer.java private static final boolean DEBUG = Debug.isPropertyDefined("jogl.debug.TextRenderer", true); The exception occurs when it's trying to load the class. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
On 07/12/2013 05:32 PM, martinezmj [via jogamp] wrote:
> More specifically, what do I need to add to my JNLP? I've tried the > following, but get the same behavior: > > <property name="jnlp.jogl.debug.TextRenderer" value="all"/> > <property name="jnlp.jogl.debug.TextRenderer" value="true"/> > > Sven Gothel wrote > Who sets or reads property 'jogl.debug.TextRenderer' ? > I assume we do ? :) > > Yes, I see this property being used in the first line of the class, here: > https://github.com/sgothel/jogl/blob/master/src/jogl/classes/com/jogamp/opengl/util/awt/TextRenderer.java > > private static final boolean DEBUG = > Debug.isPropertyDefined("jogl.debug.TextRenderer", true); > > The exception occurs when it's trying to load the class. ... [show rest of quote] ... [show rest of quote] Thank you - it's a bug on our side,
the debug access has not been set up 'yet'. Pls file a bug report, will be fixed soon - for 2.0.2. ~Sven |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks for the quick reply. I've submitted the bug here: https://jogamp.org/bugzilla/show_bug.cgi?id=782
|
Free forum by Nabble | Edit this page |