Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-131

xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6
    • 3.6
    • reflect
    • None
    • windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9

    Description

      D:\ws\xbeantrunk\xbean-reflect>java -version
      java version "1.5.0_15"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
      Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)

      ----------------------------
      Results :

      Failed tests:
      testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)

      Tests run: 68, Failures: 1, Errors: 0, Skipped: 0

      ------------------------------
      -------------------------------------------------------------------------------
      Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
      -------------------------------------------------------------------------------
      Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
      testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest) Time elapsed: 0 sec <<< FAILURE!
      junit.framework.AssertionFailedError
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertNotNull(Assert.java:220)
      at junit.framework.Assert.assertNotNull(Assert.java:213)
      at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
      at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
      at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)

      Attachments

        Activity

          People

            jlaskowski Jacek Laskowski
            genspring Lin Quan Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: