Modify ↓
Ticket #229 (assigned defect)
Support wildcard type parameters in GJ.
| Reported by: | moschny | Owned by: | moschny |
|---|---|---|---|
| Priority: | normal | Milestone: | JPlater |
| Component: | gjc | Version: | 1.07i |
| Severity: | normal | Keywords: | Java5 |
| Cc: |
Description
GJ doesn't support bound and unbound wildcard type parameters such as <? extends Tree>, <? super Tree> and <?> at all. This inhibits the usage of GJ and thus of JavaParty in a Java5 environment, because some of the library classes make use of those wildcard type params.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

The bugfix release 1.07i contains a hackish quick-fix: While reading class and method signatures from classfiles, wildcard type parameters are replaced in the following way:
Note: Maybe <? super A> should instead be replaced by <Object> ?