<?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>591</bug_id>
          
          <creation_ts>2012-06-21 10:10:43 +0200</creation_ts>
          <short_desc>Property &apos;jnlp.&apos; Aliasing Broken</short_desc>
          <delta_ts>2012-06-21 20:46:29 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>2a10f604b65f12ae5e8987bfa73cffcc1d5f796e</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1633</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2012-06-21 10:10:43 +0200</bug_when>
    <thetext>I have broken GlueGen&apos;s [and hence all modules] 
property parsing in Debug*/PropertyAccess using the &apos;jnlp.&apos; prefix.

+++

Abstract:

Usually you set a property like 
  jogamp.debug.IOUtil
  jogamp.debug=all
to enable either IOUtil debugging or all debugging.

In case you use Applets or JNLP you cannot use above 
property namespace, since it&apos;s considered insecure.
GlueGen would allow you to use an &apos;jnlp.&apos; alias, e.g.:
  jnlp.jogamp.debug.IOUtil
  jnlp.jogamp.debug=all

The latter are secure properties and will be passed to the invoked JVM.

+++

I broke that logic in GlueGen w/ commit f4ac27e177f6deb444280d3b375e7d343e38bd08.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1634</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2012-06-21 10:12:41 +0200</bug_when>
    <thetext>Example of a JNLP file using secure JogAmp&apos;s debug properties:

...
    &lt;resources&gt;
      &lt;j2se href=&quot;http://java.sun.com/products/autodl/j2se&quot; version=&quot;1.4+&quot;/&gt;
      &lt;property name=&quot;sun.java2d.noddraw&quot; value=&quot;true&quot;/&gt;
      &lt;property name=&quot;jnlp.jogamp.debug&quot; value=&quot;all&quot;/&gt;
      &lt;property name=&quot;jnlp.nativewindow.debug&quot; value=&quot;all&quot;/&gt;
      &lt;property name=&quot;jnlp.jogl.debug&quot; value=&quot;all&quot;/&gt;
      &lt;property name=&quot;jnlp.newt.debug&quot; value=&quot;all&quot;/&gt;
      &lt;jar href=&quot;http://jogamp.org/deployment/archive/rc/v2.0-rc3/jogl-demos/jar/jogl-demos.jar&quot; main=&quot;true&quot;/&gt;
      &lt;jar href=&quot;http://jogamp.org/deployment/archive/rc/v2.0-rc3/jogl-demos/jar/jogl-demos-util.jar&quot; /&gt;
      &lt;extension name=&quot;jogl-all-awt&quot; href=&quot;http://jogamp.org/deployment/archive/rc/v2.0-rc3/jogl-all-awt.jnlp&quot; /&gt;
    &lt;/resources&gt;
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2012-06-21 20:46:29 +0200</bug_when>
    <thetext>Fixed w/ 2a10f604b65f12ae5e8987bfa73cffcc1d5f796e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>