This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Jun 23, 2009 at 10:39 AM, Chris Burdess<dog@bluezoo.org> wrote:
Some genius (?) has a namespace called "namespace" :-)That would be Sun. And in Java "namespace" is not a keyword so it's a perfectly legal package name.
I think you'll have to edit the header file by hand.
Should this not be handled by some automatic munging/unmunging in gcjh/gcj? It may prove to be a problem in other places where names are not keywords in Java but might be in C/C++/whatever.
Yes it should. The "old" gcjh certainly did this, but perhaps some of the C++ keyword handling got lost a while back when gcjh was rewritten in Java. The code is in libjava/classpath/tools/gnu/classpath/tools/javah if you want to take a look.
Bryce
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |