sjavac in jdk 8 builds

Erik Joelsson erik.joelsson at oracle.com
Tue Feb 12 07:28:47 UTC 2013


What David says is correct. We hope to enable it by default soon, but 
feel that it could use some hardening first.
/Erik

On 2013-02-11 23:42, David Katleman wrote:
> On 2/11/2013 1:56 PM, Vita Santrucek wrote:
>> I see that sjavac was pushed in b75:
>>
>> but in our logs we seem to disable it:
>>
>>>> checking whether to use sjavac… no
>> ...
>> [3] DISABLE_SJAVAC:=true
>> ...
>>
>> Why don't we use it when building JDK 8?
>
> It's not that we disable it, autoconf does that for any build, by 
> default.
>
> Including Fredrik for insight on why it's not on by default, or an 
> expectation of when it will.
>
>> checking for memory size... 3042 MB
>> checking whether to use sjavac... no
>> checking that precompiled headers work... yes
>
> If I'm reading the feature right, you have to explicitly add 
> "--enable-sjavac" to your build options
>
>> It is not available in the final image. Thus to use it, you have to 
>> compile the OpenJDK yourself.
>> The new build system makes use of it, if you add --enable-sjavac to 
>> the configure arguments.
>
>          http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004658
>
>                 Dave
>
>



More information about the build-dev mailing list