Bug 34551 - xjavac classpath hack required to build under libgcj
Summary: xjavac classpath hack required to build under libgcj
Status: NEW
Alias: None
Product: Xerces-J
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Xerces-J Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 12:21 UTC by Gary Benson
Modified: 2005-04-21 04:21 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Benson 2005-04-21 12:21:22 UTC
The xjavac contains a classpath workaround for various JVMs, and this workaround
is also required for libgcj.  The following patch fixes:

--- XJavac.java~   2005-04-21 10:49:50 +0100
+++ XJavac.java    2005-04-21 10:59:07 +0100
@@ -97,7 +97,8 @@
             else if( (vendor.indexOf("SUN") >= 0) ||
                      (vendor.indexOf("BLACKDOWN") >= 0) ||
                      (vendor.indexOf("APPLE") >= 0) ||
-                     (vendor.indexOf("HEWLETT-PACKARD") >= 0)) {
+                     (vendor.indexOf("HEWLETT-PACKARD") >= 0) ||
+                     (vendor.indexOf("FREE SOFTWARE FOUNDATION") >= 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