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

throws ClassCastException - getting string representation of exception message

XMLWordPrintable

    • b46
    • generic
    • generic

      XSAttributeCheckerTest.java - unit testcase for BugId : 4973312 (testcase attached)
      ---------------------------------------------------------------
      secure processing part works fine , but when getting string representation of exception message - " for case-II - parseWithMaxOccurs(3, 4) in XSAttributeCheckerTest.java " , throws java.lang.ClassCastException: java.lang.Integer
      ---------------------------------------------------------------
      java -version
      java version "1.5.0-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-_02_Feb_2004_09_10)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b36, mixed mode)
      ---------------------------------------------------------------

            vkorcl Venugopal K (Inactive)
            saksunw Sreejith Ak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: