re PR cp-tools/30707 (gjavah cannot handle more than one CLASS)
PR libgcj/30707: * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Always print a header. From-SVN: r121664
This commit is contained in:
parent
ad8e8d0b46
commit
4aa9ca5049
@ -1,3 +1,9 @@
|
||||
2007-02-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR libgcj/30707:
|
||||
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
|
||||
(printClass): Always print a header.
|
||||
|
||||
2007-02-05 Andrew Haley <aph@redhat.com>
|
||||
|
||||
PR cp-tools/30706
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
/* JniIncludePrinter.java - Generate a JNI header file
|
||||
Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
Copyright (C) 2006, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@ -109,8 +109,6 @@ public class JniIncludePrinter
|
||||
|
||||
public void printClass(ClassWrapper klass) throws IOException
|
||||
{
|
||||
if (! klass.hasNativeMethod())
|
||||
return;
|
||||
String xname = JniHelper.mangle(klass.name);
|
||||
JniPrintStream out
|
||||
= (JniPrintStream) getPrintStream(klass.name.replace('/', '_') + ".h",
|
||||
|
Loading…
Reference in New Issue
Block a user