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

'jni compatibility symlink' can cause vm failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.0
    • 1.3.0
    • hotspot
    • None
    • sol-beta2
    • generic
    • generic
    • Not verified

      The 'jni compatibility symlink'

      /usr/java1.2/jre/lib/sparc/libjvm.so -> /usr/java1.2/jre/lib/sparc/client/libjvm.so

      (or -> /usr/java1.2/jre/lib/sparc/server/libjvm.so)

      being considered for jdk 1.3 on solaris can cause the vm to abort. The
      link is needed because the location of libjvm.so is different in jdk1.3
      than it was in the solaris production jdk1.2.x.

      To reproduce:

      Install the packages for jdk1.3 build 18 (or earlier), then

      $ cd /usr/java1.2/jre/lib/`uname -p`
      $ ln -s client/libjvm.so libjvm.so
      $ java -version
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-b18)
      Java HotSpot(TM) Client VM (build 1.3.0-b18, mixed mode)
      $ java -server -version
      Segmentation Fault(coredump)

            katleman David Katleman (Inactive)
            jcoomes John Coomes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: