Type Erasure

968 views
882 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
968
On SlideShare
0
From Embeds
0
Number of Embeds
59
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Type Erasure

  1. 1. Java VM Type Erasure arkadi.shishlov@gmail.com
  2. 2. 1. function signatures2. field signatures3. template class bytecode does not contain parameterized type information
  3. 3. enclosing class field’sreflection metadata contain information about parameterizing type List<String> list; Field.getGenericType()
  4. 4. (anonymous) derived(template specialized) class for which bytecode is generated, encode parameterizing type information Class.getGenericSuperclass()

×