Modify

Opened 15 years ago

Last modified 9 years ago

#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 (0)

Change History (3)

comment:1 Changed 15 years ago by moschny

  • Version changed from 1.00 to 1.07i

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:

<? super C>    => <C>
<? extends C>  => <C>
<?>            => <Object>

Note: Maybe <? super A> should instead be replaced by <Object> ?

comment:2 Changed 14 years ago by moschny

  • Milestone set to JPlater
  • Status changed from new to assigned

comment:3 Changed 14 years ago by moschny

  • Keywords Java5 added

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain moschny.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from moschny to the specified user. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.