xingty / xingty.github.io

my blog
1 stars 0 forks source link

Java泛型的类型擦除始末,找回被擦除的类型 - Bigbyto's blog #9

Open xingty opened 4 years ago

xingty commented 4 years ago

https://wiyi.org/type-erasure.html

Java设计之初,语言的规范和虚拟机的规范是分开的。Java语言的规范叫JLS(Java Language Specification),Java虚拟机规范叫JVMS(Java Virtual Machine Specification)。最初,JLS和JVMS都没有考虑到泛型。泛型在JDK 5开始引入,虽然Ja...

class-signature

bigbyto-anon commented 1 year ago

666,佩服大神的钻研精神