[PATCH] Fix multiple macros with the same name

Mladen Turk mturk at redhat.com
Thu Mar 31 02:18:36 PDT 2011

On 03/31/2011 11:11 AM, Andrew Haley wrote:
> On 31/03/11 10:06, Mladen Turk wrote:
>> Patch fixes the compile time warning:
>> In file included from ../../../src/share/native/java/io/FileInputStream.c:38:0:
>> ../../../src/solaris/native/java/io/io_util_md.h:68:0: warning: "SET_HANDLE" redefined
>> ../../../src/share/javavm/include/typedefs.h:80:0: note: this is the location of the previous definition
>> Although non-critical it could break the build
>> depending on the order in which files are included.
>> Anyhow, patch makes sure that SET_HANDLE macros
>> defined are different since they handle different things.
> I'm sorry, but you're going to have to deal with OpenJDK bureaucracy.

OK. Fair enough :)

> Please send this to hotspot-dev.



More information about the distro-pkg-dev mailing list