[PATCH] Fix multiple macros with the same name

Andrew Haley aph at redhat.com
Thu Mar 31 02:11:39 PDT 2011


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.

Please send this to hotspot-dev.  If they reply you'll probably be asked
to create a bug ID, then this can be pushed.

Andrew.



More information about the distro-pkg-dev mailing list