Community
Participate
Working Groups
Build R2.1 Once 1.4.2 target support is enabled, the compiler should encode the array receiver type inside the method reference instead of Object for message sendings like array.clone(); see http://developer.java.sun.com/developer/bugParade/bugs/4329886.html
Olivier - can you verify whether all array message sendings are modified in this way, or only Object protected methods (clone(), finalize()).
This requires addition of target 1.4.2
Only clone() seems to be concerned by this change. finalize() doesn't compile.
No need for 1.4.2 target, will have the fix enabled for 1.4 targets and better. -target 1.4.2 is a pure javac artifact, which doesn't exist in classfiles.
*** This bug has been marked as a duplicate of 36307 ***