BZ 1062580: Fixed disappearing generics in java source code viewer.
(cherry-picked from 6b91d39)