Type Erasure
Upcoming SlideShare
Loading in...5
×
 

Type Erasure

on

  • 950 views

 

Statistics

Views

Total Views
950
Views on SlideShare
892
Embed Views
58

Actions

Likes
0
Downloads
2
Comments
0

2 Embeds 58

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

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Type Erasure Type Erasure Presentation Transcript

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