Type Erasure
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,026
On Slideshare
968
From Embeds
58
Number of Embeds
2

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 58

http://www.jug.lv 52
http://jug.lv 6

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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