summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-02-06 20:23:45 +0000
committerTom Tromey <tromey@redhat.com>2007-02-06 20:23:45 +0000
commit7bbabf2477139f79c7595a22152f8736f7ab7c7a (patch)
treeb217afba08360ab11962b914673c3c6ec64e1521 /tools
parentcf12e2e28924d702a73f9115582c35853b777bb2 (diff)
downloadclasspath-7bbabf2477139f79c7595a22152f8736f7ab7c7a.tar.gz
PR libgcj/30707:
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Always print a header.
Diffstat (limited to 'tools')
-rw-r--r--tools/gnu/classpath/tools/javah/JniIncludePrinter.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gnu/classpath/tools/javah/JniIncludePrinter.java b/tools/gnu/classpath/tools/javah/JniIncludePrinter.java
index 5666d277d..dc19af255 100644
--- a/tools/gnu/classpath/tools/javah/JniIncludePrinter.java
+++ b/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",