Commit 4aa9ca50 by Tom Tromey Committed by Tom Tromey

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
parent ad8e8d0b
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> 2007-02-05 Andrew Haley <aph@redhat.com>
PR cp-tools/30706 PR cp-tools/30706
/* JniIncludePrinter.java - Generate a JNI header file /* 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. This file is part of GNU Classpath.
...@@ -109,8 +109,6 @@ public class JniIncludePrinter ...@@ -109,8 +109,6 @@ public class JniIncludePrinter
public void printClass(ClassWrapper klass) throws IOException public void printClass(ClassWrapper klass) throws IOException
{ {
if (! klass.hasNativeMethod())
return;
String xname = JniHelper.mangle(klass.name); String xname = JniHelper.mangle(klass.name);
JniPrintStream out JniPrintStream out
= (JniPrintStream) getPrintStream(klass.name.replace('/', '_') + ".h", = (JniPrintStream) getPrintStream(klass.name.replace('/', '_') + ".h",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment