Review Request: Build-infra update

Jonathan Gibbons jonathan.gibbons at
Wed May 23 18:03:34 UTC 2012

I wanted to be able to declare fields as native, but that was deemed 

-- Jon

On 05/23/2012 10:05 AM, Alan Bateman wrote:
> On 23/05/2012 17:50, Kelly O'Hair wrote:
>> Has anyone tried creating an unused native method declaration in the 
>> class to trigger the native header
>> generation?   public native void GenerateNativeHeader();   ???  Is 
>> that too ugly?
>> -kto
> As Jon put it, for the classes in the base module, "we are delicate 
> bootstrapping ground" so if you add something like "private static 
> native void dummy()" rather than the annotation to the classes in the 
> base module then it could be a solution for the short term. This means 
> the following sources in the webrev:
> src/share/classes/java/lang/
> src/share/classes/java/lang/
> src/share/classes/java/net/
> src/windows/classes/sun/nio/ch/
> Also it would be good to remove it from 
> src/share/classes/sun/nio/ch/ too (it got the annotation 
> in the first round).
> -Alan.

More information about the build-dev mailing list