Re: ecj vs javac

2013-09-29 Thread Emmanuel Bourg
Le 27/09/2013 22:06, Andrew Ross a écrit : > I'm tempted to report these as upstream bugs - the missing casts > definitely appear to be an oversight when you look through the rest of > the eclipselink codebase. That sounds like a good idea. If the fix isn't too complicated I think it's better to

Re: ecj vs javac

2013-09-27 Thread Andrew Ross
I've gone through them now, and it looks like most of them are missing downcasting, where they've got Field[] fields = null; ... fields = AccessController.doPrivileged(new PrivilegedGetDeclaredFields(clazz)); PrivilegedGetDeclaredFields.run() returns an Object, which turns out is actually a Fiel

Re: ecj vs javac

2013-09-26 Thread Emmanuel Bourg
Hi Andrew, What kind of errors do you get with javac? Is this specific to Java 7? Emmanuel Bourg Le 26/09/2013 23:23, Andrew Ross a écrit : > Hi, > > I've been looking to update the eclipselink package, which is a > dependency of Netbeans. The latest version only appears to compile > without e