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

sun/management/jmxremote/bootstrap/CustomLauncherTest.java should be updated for jdk8 removal of solaris-32bit support

    Details

    • Subcomponent:
    • Resolved In Build:
      b119
    • Verification:
      Not verified

      Description

      While this test is changing to java version via JDK-8004926, new issues found:

      1. Test should be update for jdk8 removal of solaris-32bit support. It uses "sparc" instead of "sparcv9"

             58 if [ "$OS" = "SunOS" ]; then
             59 PLATFORM=solaris
             60 case "`uname -p`" in
             61 i[3-9]86)
             62 ARCH=i586
             63 ;;
             64 sparc)
             65 ARCH=sparc
             66 ;;
             67 esac

             85 if [ "$ARCH" = "i586" ]; then
             86 LIBARCH="i386"
             87 else
             88 LIBARCH=$ARCH
             89 fi

      and try to locate libjvm.so under ${LIBARCH}

      2. If the bootstrap/solaris-sparc/launcher have no execute permission, test will silently pass
      ...
      command: shell CustomLauncherTest.sh
      reason: User specified action: run shell CustomLauncherTest.sh
      elapsed time (seconds): 0.042
      STDOUT:
      .../test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher not found
      ...
      Test results: passed: 1

      Above "launcher" exist, but without execute permission

        Attachments

          Activity

            People

            • Assignee:
              jbachorik Jaroslav BachorĂ­k
              Reporter:
              amlu Amy Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: