I rebased a large set of changes against apache/master yesterday afternoon,
and now I can't build in Eclipse. I get the above warning in
DrillConfig.java, on this line:

  @SuppressWarnings("restriction")  private static final long
MAX_DIRECT_MEMORY = sun.misc.VM.maxDirectMemory();


It builds fine from maven on the command-line, but not in eclipse (which is
preventing me from debugging a unit test).


When I mouse over the error indicator on the left-hand side of the file
editor, I see these:

Multiple markers at this line

- Unnecessary @SuppressWarnings("restriction")

- Access restriction: The method 'VM.maxDirectMemory()' is not API
(restriction on required library '/Library/Java/JavaVirtualMachines/

 jdk1.7.0_71.jdk/Contents/Home/jre/lib/rt.jar')

- Access restriction: The type 'VM' is not API (restriction on required
library '/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/

  jre/lib/rt.jar')


There are no suggestions, and I'm not seeing anything obvious in web
searches. Any ideas on how to proceed?

Reply via email to