Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1203139

javah -stubs should generate C file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • 1.0
    • other-libs
    • 1.0alpha3
    • sparc
    • solaris_2.5
    • Not verified

      When you run
          javah -stubs
      on a java class, the program creates a file "ClassName.stubs".
      The programmer then has to create a .c file out of this stubs file
      and remember to include "StubPreamble.h".

      This is inconvenient and unnecessary -- javah could do this
      automatically very easily.

      Please change javah so that
          javah -stubs
      generates a .c file (named ClassName.c) that already includes
      StubPreamble.h.

            ahoffsunw Arthur Hoff (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: