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:
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",
|
||||
|
||||
Reference in New Issue
Block a user