PATCH RFA: Remove extern "C" from java header file

Andrew Pinski pinskia@gmail.com
Wed Jun 10 02:17:00 GMT 2009


On Tue, Jun 9, 2009 at 9:58 PM, Ian Lance Taylor<iant@google.com> wrote:
> The java frontend header file java/verify.h has an extern "C" wrapper.
> This breaks when compiling java with C++.  I can't think of any reason
> for having it. This patch removes it.  Bootstrapped and tested on
> x86_64-unknown-linux-gnu.  OK for mainline?

How does it break?  The original code in verify.h came from the
runtime which was originally written in C++ so they wanted to provide
a C interface of the C++ code.

Thanks,
Andrew Pinski



More information about the Java-patches mailing list