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:
Tom Tromey 2007-02-06 20:27:16 +00:00 committed by Tom Tromey
parent ad8e8d0b46
commit 4aa9ca5049
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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",