RFR: 8323707: Adjust Classfile API's type arg model to better represent the embodied type

ExE Boss duke at openjdk.org
Mon Jan 15 02:33:21 UTC 2024


On Mon, 6 Nov 2023 07:30:41 GMT, Chen Liang <liach at openjdk.org> wrote:

> API changes as discussed on the mailing list: https://mail.openjdk.org/pipermail/classfile-api-dev/2023-November/000419.html
> 
> Additional questions:
> 1. Whether to rename `WildcardIndicator.DEFAULT` to `NONE`

src/java.base/share/classes/java/lang/classfile/Signature.java line 219:

> 217:                  * no wildcard (empty), an exact type
> 218:                  */
> 219:                 DEFAULT,

I’m personally in favour of naming this `NONE`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16517#discussion_r1451876203


More information about the core-libs-dev mailing list