You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/11 16:04:45 UTC
[Bug 1556] - ClassLinkageError while testing classes which use JAXP classes
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: ant-dev@jakarta.apache.org |
| Reported By: kario@mermit.fi |
- | 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: ant-dev@jakarta.apache.org |
| Reported By: kario@mermit.fi |
+----------------------------------------------------------------------------+
| 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 conor@cortexebusiness.com.au 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.