http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1556
*** shadow/1556 Thu Jun 14 08:10:01 2001 --- shadow/1556.tmp.9225 Wed Jul 11 07:04:45 2001 *************** *** 2,15 **** | ClassLinkageError while testing classes which use JAXP classes | +----------------------------------------------------------------------------+ | Bug #: 1556 Product: Ant | ! | Status: ASSIGNED Version: 1.3 | ! | Resolution: Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: Low Component: Optional Tasks | +----------------------------------------------------------------------------+ | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | - | CC list: Cc: | +----------------------------------------------------------------------------+ | URL: | +============================================================================+ --- 2,14 ---- | ClassLinkageError while testing classes which use JAXP classes | +----------------------------------------------------------------------------+ | Bug #: 1556 Product: Ant | ! | Status: RESOLVED Version: 1.3 | ! | Resolution: WONTFIX Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: Low Component: Optional Tasks | +----------------------------------------------------------------------------+ | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | +----------------------------------------------------------------------------+ | URL: | +============================================================================+ *************** *** 105,108 **** then the system class loader definitions should always be used. If class definition precedence used, then what are the conditions where loader ! constraints can be violated? --- 104,119 ---- then the system class loader definitions should always be used. If class definition precedence used, then what are the conditions where loader ! constraints can be violated? ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-07-11 07:04 ------- ! For now forking is the best option here. ! ! James asked "Might this be a bug in a class loader implementation?". Sort of :- ! ). The usage of the AntClassLoader does not strictly respect "class definition ! precedence" as you call it. If it were to do this, then you could only test ! classes with the junit task which were on the system classpath. This is because ! the junit classes themselves will be loaded by the system loader and would not ! be able to see any classes in the classpath given to the junit task. For now, I ! am going to mark this as WONTFIX and advise you to use the fork option. I do ! have some experiments to try.
