summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-06 20:27:16 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-06 20:27:16 +0000
commitce2e86e682d7decdfafdf8868998bec3f79f217a (patch)
treef8a9b0f61ef06279d8bc8181ae535df458ccea64 /libjava
parent87861bf1e1e12aa14324fdb7d54eff46f1de0429 (diff)
downloadppe42-gcc-ce2e86e682d7decdfafdf8868998bec3f79f217a.tar.gz
ppe42-gcc-ce2e86e682d7decdfafdf8868998bec3f79f217a.zip
PR libgcj/30707:
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Always print a header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121664 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/classpath/ChangeLog6
-rw-r--r--libjava/classpath/tools/classes/gnu/classpath/tools/javah/JniIncludePrinter.classbin4407 -> 4363 bytes
-rw-r--r--libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java4
3 files changed, 7 insertions, 3 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog
index 6cd323902d9..efc15120966 100644
--- a/libjava/classpath/ChangeLog
+++ b/libjava/classpath/ChangeLog
@@ -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
diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/JniIncludePrinter.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/JniIncludePrinter.class
index 6c29cc3c22b..a89e0d2e9a8 100644
--- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/JniIncludePrinter.class
+++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/JniIncludePrinter.class
Binary files differ
diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java b/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java
index 5666d277d57..dc19af25516 100644
--- a/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java
+++ b/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java
@@ -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",
OpenPOWER on IntegriCloud