This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/5412: gcjh -stubs creates stubs for classes which have no native methods
- From: nallen at freenet dot co dot uk
- To: gcc-gnats at gcc dot gnu dot org
- Date: 17 Jan 2002 14:28:28 -0000
- Subject: java/5412: gcjh -stubs creates stubs for classes which have no native methods
- Reply-to: nallen at freenet dot co dot uk
>Number: 5412
>Category: java
>Synopsis: gcjh -stubs creates stubs for classes which have no native methods
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 17 06:36:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Nicholas Allen
>Release: gcj 3.0.3
>Organization:
>Environment:
RedHat Linux 7.2
>Description:
if gcjh -stubs is run on class files that contain no native methods it still generates a stubs file. As the purpose of the stubs file is to write native method implementations it doesn't make much sense to do this. It is a little annoying if you take a load of existing classes that use JNI and run the stubs on all of them so you have somewhere to start from. It generates a cpp file for every class. It would be much nicer if it just generated the files that were needed.
>How-To-Repeat:
gcjh -stubs <class with no native methods>
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: