On 22/10/27 4:26 PM, Michael Bien wrote:
On 27.10.22 22:51, Ernie Rael wrote:


I'm still confused. I always thought generics were syntactic sugar,

nah they do influence method signatures, add bridge methods you never wrote etc. Its more than just compile time checks.

Matthias showed the javap results for this particular case in the other mail.


Don't think that mail made it to the list. I did find the excerpt that's quoted

In the implementation the "before" promise is broken as the first
instruction is a checked cast
intriguing.

-ernie


-mbien


and they became Object at runtime. I can kind of rationalize why it's failing, but it's more than just generics.

Anyway, I'll build delivery and try it, if (I hope when) the revert gets merged.

-ernie



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to