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

JDK 7- Java control panel fails to launch on Solaris Sparc 9

    XMLWordPrintable

    Details

      Description

      JDK 7 Java control panel fails to launch on Solaris 9- Sparc (it is OK on Solaris 10 -Sparc).

      It is a regression since JDK 7 - build 50 promotion.
      * From b50 to b56: it throws Exception in thread /jre1.7.0/lib/sparc/libnio.so: ld.so.1: java: fatal: libc.so.1: open failed
      * From b57 to current b59: it repeatedly throws exception "sun.font.NativeFont.getMapper(NativeFont.java:246)..."

      Tested OS: Solaris 9- Sparc (ok with solaris 10-sparc)

      Steps to reproduce:
      ------------------
      1) On Solaris 9- sparc, install jre 7 -build 59
      2) From the command line, launch jre 7 JCP /jre1.7.0/bin/ControlPanel

      If you don't see JCP launched then the bug is reproducible

      Detailed Exception:
      ------------------
      1) b57 - b59: repeatedly exception thrown
      at sun.font.NativeFont.getMapper(NativeFont.java:246)
      ...
      ...

      2) b50 - b56
      $ ./ControlPanel
      Exception in thread "main" java.lang.UnsatisfiedLinkError: /jre1.7.0/lib/sparc/libnio.so: ld.so.1: java: fatal: libc.so.1: open failed: No such file or directory
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(Unknown Source)
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at sun.security.action.LoadLibraryAction.run(Unknown Source)
      at sun.security.action.LoadLibraryAction.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.nio.ch.Util.load(Unknown Source)
      at sun.nio.ch.FileChannelImpl.<clinit>(Unknown Source)
      at java.io.RandomAccessFile.getChannel(Unknown Source)
      at sun.font.TrueTypeFont.open(Unknown Source)
      at sun.font.TrueTypeFont.verify(Unknown Source)
      at sun.font.TrueTypeFont.<init>(Unknown Source)
      at sun.font.FontManager.registerFontFile(Unknown Source)
      at sun.font.FontManager.initialiseDeferredFont(Unknown Source)
      at sun.font.CompositeFont.doDeferredInitialisation(Unknown Source)
      at sun.font.CompositeFont.getSlotFont(Unknown Source)
      at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
      at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
      at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
      at sun.font.FontDesignMetrics.<init>(Unknown Source)
      at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
      at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
      at javax.swing.JComponent.getFontMetrics(Unknown Source)
      at javax.swing.text.WrappedPlainView.updateMetrics(Unknown Source)
      at javax.swing.text.WrappedPlainView.updateChildren(Unknown Source)
      at javax.swing.text.WrappedPlainView.insertUpdate(Unknown Source)
      at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown Source)
      at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source)
      at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
      at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source)
      at javax.swing.text.AbstractDocument.insertString(Unknown Source)
      at javax.swing.text.PlainDocument.insertString(Unknown Source)
      at javax.swing.text.AbstractDocument.replace(Unknown Source)
      at javax.swing.text.JTextComponent.setText(Unknown Source)
      at com.sun.deploy.panel.JSmartTextArea.setText(Unknown Source)
      at com.sun.deploy.panel.JSmartTextArea.<init>(Unknown Source)
      at com.sun.deploy.panel.SecurityPanel.initComponents(Unknown Source)
      at com.sun.deploy.panel.SecurityPanel.<init>(Unknown Source)
      at com.sun.deploy.panel.ControlPanel.initComponents(Unknown Source)
      at com.sun.deploy.panel.ControlPanel.<init>(Unknown Source)
      at com.sun.deploy.panel.ControlPanel.main(Unknown Source)

        Attachments

          Activity

            People

            Assignee:
            herrick Andy Herrick
            Reporter:
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: