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

J2SE 142_06: Regression in java.beans.Introspector (property re-ordering)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2_07
    • 1.4.2_06
    • client-libs
    • b02
    • generic
    • solaris_9

      The regression is in java.beans.Introspector, when it gets the beanInfo for a class, the order of properties in the beanInfo is changed from 142_05 to 142_06. The order in 142_05 is alphabetical. I attached a test case to identify this.

      What you need to do is to compile both Test.java and SOAPStruct.java and run java test.Test.

      142_05:

      65$ java test.Test

      0: varFloat

      1: varInt

      2: varString



      142_06:

      64$ java test.Test

      0: varInt

      1: varString

      2: varFloat

            bchristi Brent Christian
            cprasadsunw Ck Prasad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: