ada/5411: gcjh -stubs creates stubs for classes which have no native methods

nallen@freenet.co.uk nallen@freenet.co.uk
Thu Jan 17 06:36:00 GMT 2002


>Number:         5411
>Category:       ada
>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:01 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:



More information about the Gcc-bugs mailing list