Community
Participate
Working Groups
RC3 - create a new workspace - use a 1.5 JDK as a default - open HashMap - put cursor on put - open quick type hierarchy observe: the sub class ProcessEnvironment doesn't show up although it overrides put. The problem is that the type variable interpretation is only done if the compiler compliance level is 5.0. However since both classes come from the JRE the interpretation has to be done as well. The problematic code is in: JavaModelUtil#getParameterTypes.
This can get even more annoying in a scenario where two projects share the same JRE but have different compiler compliance level. If the rt.jar is first opened from a 1.4 JDK the override computation will even fail for a project having 5.0 compliance. Martin, can you please investigate how risky a fix would be ?
This got fixed. Tested on I20050906-1200
verifing...