<?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>1446</bug_id>
          
          <creation_ts>2023-08-08 11:51:07 +0200</creation_ts>
          <short_desc>ParentClass directive fails if interfaces are also present on the associated class</short_desc>
          <delta_ts>2023-08-08 18:41:02 +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.5.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="Mathieu Féry (MathiusD)">mfery</reporter>
          <assigned_to name="Mathieu Féry (MathiusD)">mfery</assigned_to>
          <cc>mfery</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>4ab62d5121afec50dcb975fcfabefd838861da28
4024bdaddd42580d02665b1b1655e7ce51fb28d5</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6831</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-08-08 11:51:07 +0200</bug_when>
    <thetext>If, as described here : https://jogamp.org/gluegen/doc/GlueGen_Mapping.html#oo-style-api-interface-mapping, we wish to generate several wrappers with an OO style, it is impossible to generate them with an InterfaceAndImpl style, as the generated implementation will have the name of the class it extends appended to the implements keyword. (like that: `public class MySubApiImpl extends MyApiImplimplements MySubApi {`)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6832</commentid>
    <comment_count>1</comment_count>
      <attachid>859</attachid>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-08-08 11:56:04 +0200</bug_when>
    <thetext>Created attachment 859
Patch of this issues

I&apos;ve made a patch available here as patch (Or here : https://github.com/MathiusD/gluegen in 1446-parent-class-directives-issue-with-if-and-impl branch)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6838</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-08-08 18:41:02 +0200</bug_when>
    <thetext>Merged via 4024bdaddd42580d02665b1b1655e7ce51fb28d5

Good catch, thank you!

Note: No need to attach a patch as we use git here and I fetch all remote repos regularly.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>859</attachid>
            <date>2023-08-08 11:56:04 +0200</date>
            <delta_ts>2023-08-08 11:56:04 +0200</delta_ts>
            <desc>Patch of this issues</desc>
            <filename>file_1446.txt</filename>
            <type>text/plain</type>
            <size>884</size>
            <attacher name="Mathieu Féry (MathiusD)">mfery</attacher>
            
              <data encoding="base64">ZmVhdChnZW5lcmF0aW9uKTogRml4IENvZGVHZW5VdGlscy5lbWl0SmF2YUhlYWRlcnMNCg0KV2hl
biBib3RoIGNsYXNzRXh0ZW5kZWQgYW5kIGludGVyZmFjZXMgYXJlIHNwZWNpZmllZCBmb3IgZ2l2
ZW4gY2xhc3Mgc3BhY2UgbWlzc2luZyBiZXR3ZWVuIGNsYXNzRXh0ZW5kZWQgYW5kIGltcGxlbWVu
dHMga2V5d29yZA0KLS0tDQpJbmRleDogc3JjL2phdmEvY29tL2pvZ2FtcC9nbHVlZ2VuL0NvZGVH
ZW5VdGlscy5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09DQpkaWZmIC0tZ2l0IGEvc3JjL2phdmEvY29tL2pvZ2Ft
cC9nbHVlZ2VuL0NvZGVHZW5VdGlscy5qYXZhIGIvc3JjL2phdmEvY29tL2pvZ2FtcC9nbHVlZ2Vu
L0NvZGVHZW5VdGlscy5qYXZhDQotLS0gYS9zcmMvamF2YS9jb20vam9nYW1wL2dsdWVnZW4vQ29k
ZUdlblV0aWxzLmphdmEJKHJldmlzaW9uIDM2ZjJjMjY0OGQ2YTQ5NDg2NWFlMWVjZDgxMGE2ZjEy
NDFhMDFjZTIpDQorKysgYi9zcmMvamF2YS9jb20vam9nYW1wL2dsdWVnZW4vQ29kZUdlblV0aWxz
LmphdmEJKHJldmlzaW9uIDUzMDEwN2IyNTk4NmEzZmYyOWExZWRhNWUwMjhkZWNkNDM4N2NmMGQp
DQpAQCAtMTMwLDYgKzEzMCw3IEBADQogICAgICAgICAgICAgaWYgKGNsYXNzRXh0ZW5kZWQgIT0g
bnVsbCkgew0KICAgICAgICAgICAgICAgICB3LnByaW50KCJleHRlbmRzICIpOw0KICAgICAgICAg
ICAgICAgICB3LnByaW50KGNsYXNzRXh0ZW5kZWQpOw0KKyAgICAgICAgICAgICAgICB3LnByaW50
KCcgJyk7DQogICAgICAgICAgICAgfQ0KICAgICAgICAgfSBlbHNlIHsNCiAgICAgICAgICAgICBp
ZiAoY2xhc3NFeHRlbmRlZCAhPSBudWxsKSB7DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>