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

/usr/j2se/bin/java -Xdebug -Xrunjdwp option do not work on Solaris Kestrel RC1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.0
    • 1.3.0
    • hotspot
    • None
    • sol-fcs
    • sparc
    • solaris_8

      I tested CE1.0.2 using Solaris Kestrel RC1 build on 8/16 and
      found that CE1.0.2 JPDA debug do not work correctly. When
      using debug function on CE1.0.2, following error message is
      displayed.

      ---
      Error occurred during initialization of VM
      Could not find -Xrun library: libjdwp.so
      ---

      libjdwp.so is installed in /usr/j2se/lib/<arch>/ directory, but
      this directory is not added to the LD_LIBRARY_PATH variable by
      java start up script. I think this bug is very similar to
      bug 4332951.

      To reproduce the bug, just type as:
      % /usr/j2se/bin/java -Xdebug -Xrunjdwp
      Please see attached text for full command option CE1.0.2 generate/execute.

      There are two differencies between Linux and Solaris java implementation.

      1. In Solaris Kestrel, /usr/j2se/bin/java is linked to ../jre/bin/.java_wrapper
         In Linux Kestrel, it is linked to ./.java_wrapper (8/20 nightly build).

      2. In Linux Kestrel, there is /usr/j2se/bin/i386/native_thread/java command,
         But in Solaris Kestrel, it is not exist.

      I try to do above modification to Solaris Kestrel, then CE1.0.2 debug
      function works correctly.

            foliversunw Fred Oliver (Inactive)
            tshioda Tomonori Shioda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: