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

jdk7 b86: javah and javah -help is no output for these commands

XMLWordPrintable

    • b89
    • sparc
    • solaris_10
    • Verified

      jdk7 b86 promoted build:

      javah and javah -help is not working because of this
      following tests are failing: on all platforms

      javah/javah_help execute_script pit,bat
      javah/javah_test1a execute_script pit,bat
      javah/javah_test19 execute_script pit,bat

      ws 7 tools location:
      /net/sqenfs-1/export1/comp/jsn/all_workspace/7_int/tools/src/javah

      output is given below for jdk7 b86:
      ===================================
      jsn-sfv245-1:/net/sqenfs-1/export1/comp/jsn/users/shantaram/7_int/tools/src/java
      h/javah_help 67 % java -version
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b86)
      Java HotSpot(TM) Server VM (build 17.0-b10, mixed mode)

      jsn-sfv245-1:/net/sqenfs-1/export1/comp/jsn/users/shantaram/7_int/tools/src/java
      h/javah_help 69 % which javah
      /net/jre.sfbay/p/v32/jdk/7/ea/b86/binaries/solaris-sparc/bin/javah


      note: no output when "javah" is executed.

      jsn-sfv245-1:/net/sqenfs-1/export1/comp/jsn/users/shantaram/7_int/tools/src/java
      h/javah_help 68 % javah


      note: no output when "javah -help" is executed.
      jsn-sfv245-1:/net/sqenfs-1/export1/comp/jsn/users/shantaram/7_int/tools/src/java
      h/javah_help 70 % javah -help

      output is given below for jdk7 b85: it is ok here.
      ===================================

      ------------output of jdk7 b85 is given below which is working ok-----------

      jsn-sfv245-1:/home/pande 46 % uname -a
      SunOS jsn-sfv245-1 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V245
      jsn-sfv245-1:/home/pande 47 % java -version
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b85)
      Java HotSpot(TM) Server VM (build 17.0-b10, mixed mode)
      jsn-sfv245-1:/home/pande 48 % which javah
      /net/jre.sfbay/p/v32/jdk/7/ea/b85/binaries/solaris-sparc/bin/javah

      --------------javah output is given below-------------------
      jsn-sfv245-1:/home/pande 49 % javah
      Usage:
        javah [options] <classes>
      where [options] include:
        -o <file> Output file (only one of -d or -o may be used)
        -d <dir> Output directory
        -v -verbose Enable verbose output
        -h --help -? Print this message
        -version Print version information
        -jni Generate JNI-style header file (default)
        -force Always write output files
        -classpath <path> Path from which to load classes
        -bootclasspath <path> Path from which to load bootstrap classes
      <classes> are specified with their fully qualified names
      (for example, java.lang.Object).

      ----------javah -help----------------
      jsn-sfv245-1:/home/pande 50 % javah -help
      Usage:
        javah [options] <classes>
      where [options] include:
        -o <file> Output file (only one of -d or -o may be used)
        -d <dir> Output directory
        -v -verbose Enable verbose output
        -h --help -? Print this message
        -version Print version information
        -jni Generate JNI-style header file (default)
        -force Always write output files
        -classpath <path> Path from which to load classes
        -bootclasspath <path> Path from which to load bootstrap classes
      <classes> are specified with their fully qualified names
      (for example, java.lang.Object).
      jsn-sfv245-1:/home/pande 51 %
      ===================================================================================

            jjg Jonathan Gibbons
            spandeorcl Shantaram Pande (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: