JDK-4500737 : unable to use -stubs option
  • Type: Bug
  • Component: tools
  • Sub-Component: javah
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2001-09-07
  • Updated: 2001-09-07
  • Resolved: 2001-09-07
Related Reports
Duplicate :  
Description
for the test,

public class a
{
        void doNothing ()
        {
        }

        native void doStillNothing ();
}

when -stubs is used with javah

jtools-sqe:/home/vr128054/vertest/work 1853 % javah -stubs a
Error: JNI does not require stubs, please refer to the JNI documentation.

If this is the right behaviour, then please do give more clarifications in usage and tooldocs.