Community
Participate
Working Groups
20030709 In the nightly build N20030710 we had a failure because return (ITypeBinding[]) res.toArray(new ITypeBinding[res.size()]);; (note the extra semicolon) was markes as 'Unreachable code' In eclipse I had 'Unreachable code' set to error but was no error shows up .
The compiler used in the nightly build has a bug (see bug 39172). In 1.3 compliant mode, no error should be reported for this pattern. This diagnosis should only occur in 1.4 mode. A way to find these potential issues is to set your compiler in 1.4 compliant mode, but with source 1.3 and target 1.1. This will flag these inconsistencies. Alternatively, you can enable the warning for superfluous semicolons, and get rid of all of them.