Deprecation warnings

Doug Simon doug.simon at
Wed Feb 1 18:51:52 UTC 2017

> On 1 Feb 2017, at 19:42, Andrew Haley <aph at> wrote:
> /nfs/zebedee/home/graal/aph/truffle/truffle/ warning: [deprecation] Integer(int) in Integer has been deprecated
> 		literals.put("return", new Integer(17));
> There are too many of these.  Shall I just fix them all?

No - we’re stuck with those because these methods are not deprecated on jdk8. So if you use SuppressWarnings, you’ll get a warning on jdk8 about an unnecessary suppression!


More information about the graal-dev mailing list