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

Drawing some rotated chinese characters causes JNI Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.3.0
    • client-libs
    • 2d
    • sparc
    • solaris_7

      In kestrel build M, zh.gbk locale,
      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-M)
      HotSpot Core VM (build 1.3beta-b-release, 1.3beta-b-release, interpreted mode, release build b)
      SunOS unicorn 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-1

        When display some chinese ( see the attached program, Draw2DStringCanvas, variable "inputString" ), cause dump core.

      Assertion failed: size > 0, file ../../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp, line 301

       Reproduce:
        1. compile the file
        2. run the program.

      showrev -p
      Patch: 107063-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtleux
      Patch: 107030-01 Obsoletes: Requires: Incompatibles: Packages: SUNWkvmx, SUNWkvm
      Patch: 106541-02 Obsoletes: 106976-01 Requires: Incompatibles: Packages: SUNWkvmx, SUNWkvm, SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWcar, SUNWesu, SUNWarc, SUNWarcx, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWdpl, SUNWdplx, SUNWesxu, SUNWhea, SUNWtoo, SUNWtoox
      Patch: 107029-01 Obsoletes: Requires: Incompatibles: Packages: SUNWkvm
      Patch: 106793-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWhea
      Patch: 106832-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWhea
      Patch: 106940-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
      Patch: 106950-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsxu
      Patch: 106985-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr
      Patch: 106987-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWsutl
      Patch: 107018-01 Obsoletes: Requires: 106938-01 Incompatibles: Packages: SUNWcsu
      Patch: 106924-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcarx
      Patch: 106944-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcarx
      Patch: 106948-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcarx
      Patch: 106936-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
      Patch: 107121-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcarx
      Patch: 107148-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcarx
      Patch: 106938-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcslx, SUNWcsl
      Patch: 106942-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcslx, SUNWcsl, SUNWarc
      Patch: 106980-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcslx, SUNWcsl, SUNWhea
      Patch: 107117-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcslx, SUNWcsl, SUNWarc
      Patch: 106980-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcslx, SUNWcsl, SUNWhea
      Patch: 106917-01 Obsoletes: Requires: Incompatibles: Packages: SUNWciu8x, SUNWciu8
      Patch: 107147-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx, SUNWcar
      Patch: 107078-03 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt
      Patch: 107081-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun
      Patch: 107059-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu, SUNWxcu4
      Patch: 107014-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxilow
      Patch: 106934-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
      Patch: 107094-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
      Patch: 107178-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
      Patch: 106946-01 Obsoletes: Requires: Incompatibles: Packages: SUNWaccu
      Patch: 106978-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
      Patch: 106148-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxfb, SUNWxfbx
      Patch: 107127-02 Obsoletes: Requires: Incompatibles: Packages: SUNWatfsu
      Patch: 107001-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte
      Patch: 107022-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdmn
      Patch: 107031-01 Obsoletes: Requires: Incompatibles: Packages: SUNWscpu
      Patch: 106949-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbcp
      Patch: 106952-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbnuu
      Patch: 107038-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdoc
      Patch: 107011-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
      Patch: 107072-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
      Patch: 106999-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesxu
      Patch: 106145-01 Obsoletes: Requires: 106148-01 Incompatibles: Packages: SUNWffb, SUNWffbcf, SUNWffbx, SUNWffbxg
      Patch: 106327-04 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
      Patch: 107074-01 Obsoletes: Requires: Incompatibles: Packages: SUNWinst
      Patch: 106851-04 Obsoletes: Requires: Incompatibles: Packages: SUNWman
      Patch: 106960-01 Obsoletes: Requires: Incompatibles: Packages: SUNWman
      Patch: 107185-01 Obsoletes: Requires: Incompatibles: Packages: SUNWploc1, SUNWplow1
      Patch: 107187-01 Obsoletes: Requires: Incompatibles: Packages: SUNWploc1, SUNWplow1
      Patch: 106812-04 Obsoletes: Requires: Incompatibles: Packages: SUNWplow1
      Patch: 107044-01 Obsoletes: Requires: Incompatibles: Packages: SUNWplow1
      Patch: 106879-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpmowu
      Patch: 107171-01 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt
      Patch: 106926-02 Obsoletes: Requires: Incompatibles: Packages: SUNWudct
      Patch: 107076-01 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu, SUNWvolux
      Patch: 106147-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxilvl
      Patch: 106967-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcleu
      Patch: 106969-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcleu, SUNWgleu
      Patch: 106973-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcleu
      Patch: 106915-01 Obsoletes: Requires: Incompatibles: Packages: SUNWgleu
      Patch: 106971-01 Obsoletes: Requires: Incompatibles: Packages: SUNWgxplt

            prr Philip Race
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: