libjava build failure #2 on solaris-2.6

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Dec 12 18:20:00 GMT 2001


Alexandre Oliva wrote:

>On a related line: on Solaris 2.5/sparc, I could get to building
>libjava's C++ sources, and building java/lang/natClassLoader.cc failed
>because it calls snprintf(), that's only available on Solaris 2.6 and
>newer. 
>

There was a PR on this, Tom fixed it already.

2001-12-10  Tom Tromey  <tromey@redhat.com>

        Fix for PR libgcj/5064.
        * java/lang/natClassLoader.cc: Don't include stdio.h.
        (_Jv_RegisterClassHookDefault): Don't use snprintf.

regards

Bryce.




More information about the Java mailing list