bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug cp-tools/30707] [regression] gjavah cannot handle more than one CLA


From: doko at ubuntu dot com
Subject: [Bug cp-tools/30707] [regression] gjavah cannot handle more than one CLASS
Date: 6 Feb 2007 10:23:06 -0000


------- Comment #2 from doko at ubuntu dot com  2007-02-06 10:23 -------
(In reply to comment #1)
> Hmm..  I don't see this.
> 
> opsy. gjavah -classpath . -jni -d Out java.lang.Object java.lang.Class
> java.lang.Thread
> opsy. ls Out/java/lang/
> ./  ../  Class.h  Object.h  Thread.h
> 
> Do you have a test case?
> Note that gjavah won't generate a JNI header for a file that has no
> native methods.  Is this what you're seeing?
> Perhaps this is a bug though.

yes; at least sun's javah version produces an "empty" file (when run on the
example from 30706), like:

$ cat org_gnu_readline_ReadlineCompleter.h
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_gnu_readline_ReadlineCompleter */

#ifndef _Included_org_gnu_readline_ReadlineCompleter
#define _Included_org_gnu_readline_ReadlineCompleter
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif


-- 

doko at ubuntu dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30707





reply via email to

[Prev in Thread] Current Thread [Next in Thread]