Some changes added to compile and run with Java 6 and Java 7.

javap 5 and 6 don't show generics. This feature is added on javap 7 and higher. To retrieve the same behavior, javap (7 and higher) have a new option "-XDcompat".
Credit:CM