On Aug 26, 2015, at 7:44 AM, Erik Joelsson <erik.joels...@oracle.com> wrote: > > Further investigation revealed that this "error" was actually just a warning > being upgraded to error by -errwarn. The warning is only activated by +w, > which is turned on for adlc but not for the rest of the hotspot build. Based > on this, I have revised my proposal to just disabling this warning for adlc > and the particular compiler version. > > Webrev: http://cr.openjdk.java.net/~erikj/8134157/webrev.01/
I think the new approach is good, e.g. disable the specific warning. However, only doing so for this one compiler rev (I assume 513 corresponds to SS12u4?) seems like a mistake to me. I don't expect the warning to go away with future compiler versions.