Community
Participate
Working Groups
Windows XP, Eclipse 2.1. Default compiler settings. Object o = ((Object))(new Object()); This code is accepted by the Eclipse compiler but not by javac. Tested with IBM JDK 1.3.1. It may be that javac is non-compliant, but I thought I'd report it anyway as it is a difference.
Good find, this is indeed our bug. Fixed in latest.
Regression test added (NegativeTest#test346)
Verified.