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

javah should accept source files

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 8
    • 7
    • tools
    • None
    • generic
    • generic

      For historical reasons, javah only accepts .class files.

      However, in the previous incarnation as an extension of javadoc, and in its current incarnation as an extension of ajavc, it is only one step away from accepting source files.

      With the .class file restriction, the build pipeline is serialized: compile class files, run javah, compile native code.

      If the .class file restriction were lifted, the build pipeline could be parallized, compiling class files in parallel with running javah and compiling native code.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: