Bug 1447 - JavaParser.g fails to parse generics with wildcard
Summary: JavaParser.g fails to parse generics with wildcard
Status: RESOLVED FIXED
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2.5.0
Hardware: All all
: P4 normal
Assignee: Mathieu Féry (MathiusD)
URL:
Depends on:
Blocks:
 
Reported: 2023-08-08 12:04 CEST by Mathieu Féry (MathiusD)
Modified: 2023-08-08 18:42 CEST (History)
2 users (show)

See Also:
Type: TASK
SCM Refs:
33ffd1240a8d4f2cb4032ca2d111142e0f87beac 496df9c41332a0d606017f0df5ba08b02af0c992
Workaround: ---


Attachments
Path of issue (1.22 KB, patch)
2023-08-08 12:07 CEST, Mathieu Féry (MathiusD)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Féry (MathiusD) 2023-08-08 12:04:55 CEST
As described in Bug 1446, if we wish to generate one implementation extending another using Java callback functionality. The parsing of generics introduced here : 2abb40b0ca9a6a06bdbe3e66b4235301ed15c693 is incomplete (wildcard management is missing).
Comment 1 Mathieu Féry (MathiusD) 2023-08-08 12:07:05 CEST
Created attachment 860 [details]
Path of issue

I've made a patch available here as patch (Or here : https://github.com/MathiusD/gluegen in 1447-java-wildcard-parsing branch)
Comment 2 Sven Gothel 2023-08-08 18:42:12 CEST
Merged 33ffd1240a8d4f2cb4032ca2d111142e0f87beac

Good stuff.