4 ms·
Yep. They're called "bridge" methods. Though, interestingly, there's only one point that they're mentioned in the language spec, specifically in the case of era
by jdmichal 10y ago
Yep. They're called "bridge" methods. Though, interestingly, there's only one point that they're mentioned in the language spec, specifically in the case of erasure. Even though they were needed before erasure for exactly this reason.
https://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#d5e26528 https://docs.oracle.com/javase/specs/jls/se8/html/jls-15.htm...