It's a lot of work to make the tests run for JDK 1.3; for example, the Ant task unit tests fail because the XML attributes are output in a different order (String.hashCode() must have changed between releases). Although code compatibility with JDK 1.3 is desirable, its low on my priorities for the moment.
-- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2003 10:15 AM > To: [EMAIL PROTECTED] > Subject: HiveMind junit testfailure > > > Hello Howard, > > i like the HiveMind thing very much. > Sometimes i'm wondering, if you can read > my thoughts and wishes of what components > i need. > I was looking for a web-component-framework > and found tapestry. > I read the eclipse code and was thinking about > a lightweigt plugin-architecture for use in webapps, > decided to use Avalon, but the final eclipse-like plugability > is missing. And then i found you working on hivemind. > > I would like to contribute if i can. > > Today i was building the current hivemind-framework and > got a test failure. > > Testcase: testCreateClassServiceConstructorFailure took 0,07 sec > FAILED > Exception message (Unable to create an instance of class > hivemind.test.PrivateBean: hivemind.test.PrivateBean) does > not contain [Unable to create an instance of class > hivemind.test.PrivateBean: Class > org.apache.commons.hivemind.impl.CreateClassServiceConstructor > can not access a member of class hivemind.test.PrivateBean > with modifiers "private"] > junit.framework.AssertionFailedError: Exception message > (Unable to create an instance of class > hivemind.test.PrivateBean: hivemind.test.PrivateBean) does > not contain [Unable to create an instance of class > hivemind.test.PrivateBean: Class > org.apache.commons.hivemind.impl.CreateClassServiceConstructor > can not access a member of class hivemind.test.PrivateBean > with modifiers "private"] > at > org.apache.commons.hivemind.test.HiveMindTestCase.assertExcept > ionSubstring(HiveMindTestCase.java:213) > at > hivemind.test.TestMisc.testCreateClassServiceConstructorFailur > e(TestMisc.java:239) > > > I think it depends on the version of the jdk "1.3.1_06": > > Changing the method in class hivemind.test.TestMisc > > public void testCreateClassServiceConstructorFailure() > { > Module m = new MockModule(); > > CreateClassServiceConstructor c = new > CreateClassServiceConstructor (); > > c.setContributingModule(m); > > c.setInstanceClassName(PrivateBean.class.getName()); > > try > { > c.constructCoreServiceImplementation(); > unreachable(); > } > catch (Exception ex) > { > assertExceptionSubstring( > ex, > "Unable to create an instance of class > hivemind.test.PrivateBean: "); > } > > } > > leads to a BUILD SUCCESSFUL > > > Mit freundlichen Gr��en > > Michael Frericks > Internet/Homebanking MS/OF > > Sparkassen Informatik GmbH & Co.KG > Nevinghoff 25 > 48147 M�nster > Telefon: 0251/288-3489 > Notes: Michael Frericks/4221/MS/SI/[EMAIL PROTECTED] > E-Mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
