ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1556] - ClassLinkageError while testing classes which use JAXP classes
Date Thu, 14 Jun 2001 15:10:01 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1556

*** shadow/1556	Sun May 20 17:26:23 2001
--- shadow/1556.tmp.19539	Thu Jun 14 08:10:01 2001
***************
*** 1,19 ****
! Bug#: 1556
! Product: Ant
! Version: 1.3
! Platform: PC
! OS/Version: Linux
! Status: ASSIGNED   
! Resolution: 
! Severity: Normal
! Priority: Low
! Component: Optional Tasks
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: kario@mermit.fi               
! URL: 
! Cc: 
! Summary: ClassLinkageError while testing classes which use JAXP classes
! 
  I'm trying to use ant for testing classes which use JAXP (more particulary 
  org.w3c.* and org.xml.* classes).
  
--- 1,19 ----
! +============================================================================+
! | 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:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  I'm trying to use ant for testing classes which use JAXP (more particulary 
  org.w3c.* and org.xml.* classes).
  
***************
*** 95,97 ****
--- 95,108 ----
  
  Forking is usually effective. If so, please let me know and I will close this 
  bug.
+ 
+ ------- Additional Comments From james@loudfire.com  2001-06-14 08:10 -------
+ We have run into this same issue. <junit fork="yes"> does work.  This error 
+ also appears when running the JUnit SwingTestRunner class.
+ 
+ Might this be a bug in a class loader implementation?
+ If a class is loaded by the system class loader and by another class loader, 
+ 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?
\ No newline at end of file

Mime
View raw message