----------
| From: craig / mime, , , [EMAIL PROTECTED]
| To: java-linux / mime, , , [EMAIL PROTECTED]
| Subject: javah generating wierd stubs '0005f'
| Date: Thursday, June 25, 1998 10:43PM
|
| Hi,
|
| Has anyone seen this strange problem? Happening under both solaris
| jdk1.1.6 and linux jdk1.1.3.
|
| For a class named package.Name javah is generating stubs named
| package_0005fName.c and package_0005fName.h
| What do these '0005f' strings mean?
I had the same problem when I decided to put my classes into a package
with a name containing an underscore (com.origin_it.)
0005f is probably either the unicode or ascii code for the underscore.
IU asked a question to the guys at JavaSoft if this is normal behaviour
or not, but I did not get any reply yet.
Regards, Addy.
P.S.: please let me know if it indeed has something to do with an underscore.
|
| The strangest thing is this is happening for only three distinct classes
| out of a whole set that have native calls. The only thing different about
| these three classes is that they happen to be the latest three to have
| native methods added. Since their native methods are identical (in
| naming) to those in other classes, I simply cut and paste the method
| declarations. So there is effectively no source code difference, and no
| difference in my use of javah.
|
| Where do I look?
|
| Cheers, Craig
|
| ------
| "Imagine if every Thursday your shoes exploded if you tied them the
| usual way. This happens to us all the time with computers, and nobody
| thinks of complaining."
| -- Jeff Raskin, interviewed in Doctor Dobb's Journal
|
| ======================================================================
| Craig Taverner ------====== Email:[EMAIL PROTECTED]
| ComOpt AB ------======== Tel: +46-42-212580
| Michael Löfmans Gata 6 ------========== Fax: +46-42-210585
| SE-254 38 Helsingborg ------======== Cell: +46-708-212598
| Sweden ------====== http://www.comopt.com
| ======================================================================
|