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

JDK 1.2_EA1 works wrong on 5.5.1 with some localisations after patch

    XMLWordPrintable

Details

    • 1.2alpha2
    • generic, sparc
    • solaris_2.5.1
    • Verified

    Description



      Name: akC57697 Date: 07/03/97



      Java does not work with some localisation (fr,it,iso8859_1..) after
      required patches have been installed.
      103600-14, 103640-08 : these patches need to do development on JDK 1.2
      on SunOS 5.5.1


      --------------------- Output -------------------------
      "
      (###@###.###): uname -a
      SunOS mars 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-1


      (###@###.###): setenv LANG it ( example: fr,iso8859_1 )
                                  ^^

      (###@###.###): /usr/local/sqe/harness/bin/solaris/javatest
      ld.so.1: /usr/local/java/jdk1.2/solaris/bin/../bin/sparc/native_threads/java: fatal: relocation error: symbol not found: _XlcDefaultInitLocale: referenced in /usr/openwin/lib/locale/it/XLIBI18N/xlibi18n.so.1
      /usr/local/sqe/harness/bin/solaris/javatest[15]: 3733 Killed
      "
      ------------------------------------------------------


      ======================================================================

       1998-02-19 - from Toshiki Murata ###@###.### (Oki - Licencee)

      This bug appears in JDK1.2beta3G Lang=ja environment.
      appletviewer causes xlibi18n.so.1 error in LANG=ja environment.
      And its TextField and TextArea cannot display Japanese strings.

      This bug is as same as BUGID:4062952.
      java command doesn't cause this bug now.
      But appletviewer command became binary file in JDK1.2beta3G,
      then that cause same problem as old java command.

      In build/solaris/java/main/GNUmakefile,
      there is a following comment.
      ------------------------------------
      #
      # The main for the Java runtime links against both libjvm and libjava,
      # and libjvm has to be linked against first.
      #
      # Note (bug #4062952)! We had to add -lX11 back to support a broken
      # i18n lib (xlibi18n.so.1). Without -lX11, i18n code will fail with
      # a link error on startup.
      #
      OTHER_LDLIBS += -L$(LIB_LOCATION) -L$(LIBDIR)/$(ARCH) -ljvm$(SUFFIX) -ljava$(SUFFIX) -L/usr/openwin/lib -lX11

      LDLIBS_COMMON += -L/usr/openwin/lib -lX11
      --------------------------

      So same patch should be applied to appletviewer and other binary commands.

      Attachments

        Issue Links

          Activity

            People

              jmcilreesunw James Mcilree (Inactive)
              akuzminorcl Alexander Kuzmin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: