Re: Feature suggestion: Allow generic wildcard in class literal expression

2019-04-22 Thread some-java-user-99206970363698485155
What do you think about this idea? I hope the fact that I did not get any responses yet does not mean that you are not interested or that I annoyed you. > JDK-6184881 describes that Object.getClass() should ideally not return > classes of raw types anymore but instead use wildcards. The problem

Feature suggestion: Allow generic wildcard in class literal expression

2019-01-04 Thread some-java-user-99206970363698485155
JDK-6184881 describes that Object.getClass() should ideally not return classes of raw types anymore but instead use wildcards. The problem is that, as noted in the comments, this breaks compability with previously written code and therefore this change is not very likely (at the moment?). Howev