Adopt javah deprecation

Doug Simon doug.simon at oracle.com
Sat Jan 13 20:22:27 UTC 2018


Hi Dmitry,

Could you please create pull requests at https://github.com/graalvm/mx and https://github.com/oracle/graal respectively to get these changes properly reviewed and integrated.

Thanks!

-Doug

> On 13 Jan 2018, at 14:13, Dmitry Samersoff <dms at samersoff.net> wrote:
> 
> Hi Everybody,
> 
> javah deprecated since jdk8 and completely removed in jdk11. So we
> should replace javah with javac -h <directory> in graal/truffle build.
> 
> Below is the patch I proposed:
> 
> On MX side, always use javac -h .
> 
> On Graal side change com.oracle.truffle.nfi.native/Makefile
> to collect generated headers on the fly.
> 
> 
> https://github.com/dsamersoff/mx/commit/f55ba964e46aadb494280274c521a6853bfaef0d
> 
> https://github.com/dsamersoff/graal/commit/ed7ffedde748e5f10b241924ed0995f5916dbc4c
> 
> 
> -Dmitry
> 
> 



More information about the graal-dev mailing list