You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2003/11/08 00:14:01 UTC
cvs commit: xml-xerces/java/tools/src XJavac.java
mrglavas 2003/11/07 15:14:01
Modified: java/tools/src XJavac.java
Log:
Fixing Bug #22471. Patch submitted by Amit Kapoor.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22471
Allow Xerces to be built on Linux with Blackdown JDK 1.4.
Revision Changes Path
1.4 +5 -3 xml-xerces/java/tools/src/XJavac.java
Index: XJavac.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/tools/src/XJavac.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XJavac.java 19 Mar 2003 23:15:11 -0000 1.3
+++ XJavac.java 7 Nov 2003 23:14:01 -0000 1.4
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2001-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -130,8 +130,10 @@
bcp.createPathElement().setPath(bcpMember.toString());
setBootclasspath(bcp);
}
- // need to do special things for Sun too...
- else if(vendor.indexOf("SUN") >= 0){
+ // need to do special things for Sun too and also
+ // for Blackdown: a Linux port of Sun Java
+ else if( (vendor.indexOf("SUN") >= 0) ||
+ (vendor.indexOf("BLACKDOWN") >= 0) ) {
// we're on an SUN 1.4; fiddle with the bootclasspath.
// since we can't eviscerate XML-related info here,
// we must use the classpath
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org