<?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>1527</bug_id>
          
          <creation_ts>2025-08-23 05:27:59 +0200</creation_ts>
          <short_desc>JogampVersion: Accept accept first manifest w/ extension-name if no extension matches</short_desc>
          <delta_ts>2025-08-23 15:39:44 +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.6.0</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>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>gluegen 822459302bdd784cacc52d91c3f2f1a3e0d2903e
gluegen 7f5b5dd136d1c68044bed72368f7299347217915
joal ce0522b6b14a8e2114d938238d30544b2b59d873
jogl d83e5c5b772753f086b3c6780662586a3395e6e1
jocl 9658b68b9b39ce2579e21db8cbf21deb46097640</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7249</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-23 05:27:59 +0200</bug_when>
    <thetext>VersionUtil.getManifest() shall have one overload w/ and option to accept
first manifest w/ extension-name if no extension matches.

This is useful for custom packaging like `com.jogamp.opengl.demosfat`
(jogl&apos;s new fat android demo apk), where a custom extension is being used.

JogampVersion then utilizes this fallback, if the given Manifest is null
and the regular jogamp fat extension-name also fails (-&gt; custom package).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7250</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-23 05:30:34 +0200</bug_when>
    <thetext>commit 822459302bdd784cacc52d91c3f2f1a3e0d2903e

fixed as described.

Further JogampVersion&apos;s getManifestInfo() only adds certain
attribute value if found, i.e. all SHA and Android tags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7251</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-23 05:36:01 +0200</bug_when>
    <thetext>added:
joal ce0522b6b14a8e2114d938238d30544b2b59d873
jogl d83e5c5b772753f086b3c6780662586a3395e6e1
jocl 9658b68b9b39ce2579e21db8cbf21deb46097640</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7253</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-23 15:39:44 +0200</bug_when>
    <thetext>commit 7f5b5dd136d1c68044bed72368f7299347217915

    Bug 1527: VersionUtil.getManifest: Exclude the parent-classloader resources to locate manifest
    
    Excluding the parent classloader resources reduces the risk of
    returning an arbitrary manifest in case of accept-first.
    
    Further it reduces I/O work to be performed,
    i.e. reading and parsing the parent&apos;s manifests.
    
    Using an Android fat jar, .e.g `com.jogamp.opengl.demos.androidfat`,
    this reduces the number of uniq manifest resources to one.
    
    Enhances commit 822459302bdd784cacc52d91c3f2f1a3e0d2903e .
    
    `jogamp.debug.VersionUtil` property may be used to enable logging.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>