Under the hood of generics

Under the hood of generics

Par Henri Tremblay
Date : samedi 24 septembre 2011 14h00
Durée : 45 minutes
Langue : Français
Tags : generics jvm


When the generics appeared in Java they appeared as the solution to the terrible casting and type guessing we used to have all over the place. But we soon discovered that they weren't that easy to manipulate. The dreaded "Type safety: Unchecked" warning wouldn't get away. This session will tell you how it really works under the hood. Many questions are answered. What is a synthetic method? How erasure really works? Why sometimes I just can't remove that warning? What can I do with java.lang.reflect.Type? Or less technically, what are the decisions that made them as they are? What lessons should be taken for further Java developments?


Présentation suivie par: Jérôme Fenal, Valentin Robert (‎Ptival‎), marc chantreux (‎eiro‎), Gregory Boissinot, Arnaud Grausem (‎v-eye‎),