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

Javah tests fail for kestrel on x86 solaris 8 machine

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.3.0
    • hotspot
    • x86
    • solaris_8

      System Information:

      Version of Java:
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-beta)
      Java HotSpot(TM) Server VM (build 1.3-beta, mixed mode)

      Operating System:
      SunOS eridanus 5.8 Generic i86pc i386 i86pc

      Processor Information:
      Status of processor 0 as of: 06/01/00 10:21:15
        Processor has been on-line since 05/19/00 11:50:21.
        The i386 processor operates at 333 MHz,
              and has an i387 compatible floating point processor.

      STEPS TO REPRODUCE:

      - Install build 17 of Solaris/Kestrel on your host machine.

      - To test javah tool, do a bringover from the childws
      /net/sqesvr/export/disk5/tools/kestrel/childws/javah
        to your test directory (say javah)

      - Go into the javah/tests directory, make suitable changes in the setup.csh
        file for environment variable JAVAH_JDKHOME to set it to the java kestrel
        b17 directory

      - On the command line, execute 'make clobber all' and then 'javah_tests -v'

      RESULTS:

      Test 2 fails, the log is shown below for test 2:

      Begin executing javah test2 .....
      Setup java source files containing native methods
      Compile java source files containing native methods
      Run javah on the compiled java class files
      Testing javah -old classname ...
      Testing javah -old File InputFile OutputFile
      Diff generated *.h files with expected *.h files
      ERROR: [File.h] and [../srcs/old/solaris/File.h] are different.
      ERROR: [InputFile.h] and [../srcs/old/solaris/InputFile.h] are different.
      ERROR: [OutputFile.h] and [../srcs/old/solaris/OutputFile.h] are different.
      *******************************************************
      8a9,10
      > #pragma pack(4)
      >
      15a18,19
      > #pragma pack()
      >
      8a9,10
      > #pragma pack(4)
      >
      16a19,20
      > #pragma pack()
      >
      8a9,10
      > #pragma pack(4)
      >
      16a19,20
      > #pragma pack()
      >
      *******************************************************
      javah (test2) ..... FAILED
      Done executing javah test2 .....


      The tests 4, 7, 9, 12 and 15 fail in similar manner. All the javah tests
      were passing on the sparc sol6 & sol8 machines and also on 4M machines.

            duke J. Duke
            dkhandelsunw Deepesh Khandelwal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: