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

Default FontEditor generates incorrect text representation

XMLWordPrintable

    • b15
    • x86
    • linux
    • Verified

      JCK: JCK-runtime-6a b08
      J2SE: FAIL - JDK7 b10, PASS JDK 7 b09, JDK 6u1 b06
      Platform[s]: FAIL - Linux, Windows PASS Solaris-i586
      switch/Mode: FAIL - default

      Test api/java_beans/PropertyEditorManager/descriptions.html#PropertyEditor[PropertyEditorManager0010] fails on windows and linux platfroms since JDK 7 b10 with the exception


      Couldn't instantiate type editor "javasoft.sqe.tests.api.java.beans.PropertyEditorManager.UninstEditor" : java.lang.InstantiationException
      Couldn't instantiate type editor "javasoft.sqe.tests.api.java.beans.PropertyEditorManager.UncastEditor" : java.lang.ClassCastException: javasoft.sqe.tests.api.java.beans.PropertyEditorManager.UncastEditor cannot be cast to java.beans.PropertyEditor
      Couldn't instantiate type editor "javasoft.sqe.tests.api.java.beans.PropertyEditorManager.UninstEditor" : java.lang.InstantiationException
      Couldn't instantiate type editor "javasoft.sqe.tests.api.java.beans.PropertyEditorManager.UncastEditor" : java.lang.ClassCastException: javasoft.sqe.tests.api.java.beans.PropertyEditorManager.UncastEditor cannot be cast to java.beans.PropertyEditor
      PropertyEditorManager0001: Passed. OKAY
      PropertyEditorManager0002: Passed. OKAY
      PropertyEditorManager0003: Passed. OKAY
      PropertyEditorManager0004: Passed. OKAY
      PropertyEditorManager0005: Passed. OKAY
      PropertyEditorManager1001: Passed. OKAY
      PropertyEditorManager1002: Passed. OKAY
      PropertyEditorManager0006: Passed. OKAY
      PropertyEditorManager0007: Passed. OKAY
      PropertyEditorManager0008: Passed. OKAY
      PropertyEditorManager0009: Passed. OKAY
      javasoft.sqe.tests.api.java.beans.util.BadStatus: setAsText failed
      at javasoft.sqe.tests.api.java.beans.PropertyEditorManager.PropertyEditorTests.checkEditor(PropertyEditorTests.java:90)
      at javasoft.sqe.tests.api.java.beans.PropertyEditorManager.PropertyEditorTests.PropertyEditorManager0010(PropertyEditorTests.java:437)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.beans.PropertyEditorManager.PropertyEditorTests.main(PropertyEditorTests.java:135)
      PropertyEditorManager0010: Failed. Test case throws exception: javasoft.sqe.tests.api.java.beans.util.BadStatus: setAsText failed
      PropertyEditorManager0011: Passed. OKAY
      PropertyEditorManager0012: Passed. OKAY
      PropertyEditorManager0013: Passed. OKAY
      PropertyEditorManager0014: Passed. OKAY
      PropertyEditorManager0015: Passed. OKAY
      PropertyEditorManager0016: Passed. OKAY
      PropertyEditorManager0017: Passed. OKAY
      PropertyEditorManager0018: Passed. OKAY
      PropertyEditorManager0019: Passed. OKAY
      PropertyEditorManager0020: Passed. OKAY
      PropertyEditorManager0021: Passed. OKAY
      PropertyEditorManager0022: Passed. OKAY
      PropertyEditorManager0023: Passed. OKAY
      PropertyEditorManager0024: Passed. OKAY
      PropertyEditorManager0025: Passed. OKAY
      PropertyEditorManager0026: Passed. OKAY
      PropertyEditorManager0027: Passed. OKAY
      PropertyEditorManager0028: Passed. OKAY
      PropertyEditorManager0029: Passed. OKAY
      PropertyEditorManager0030: Passed. OKAY
      PropertyEditorManager0031: Passed. OKAY
      STATUS:Failed.test cases: 33; passed: 32; failed: 1; first test case failure: PropertyEditorManager0010
      ----------out2:(0/0)----------
      result: Failed. test cases: 33; passed: 32; failed: 1; first test case failure: PropertyEditorManager0010


      test result: Failed. test cases: 33; passed: 32; failed: 1; first test case failure: PropertyEditorManager0010

            malenkov Sergey Malenkov (Inactive)
            pastepan Pavel Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: