bsf/bsf-javac.patch
2005-06-02 16:02:07 +00:00

12 lines
396 B
Diff

--- bsf-2.3.0/src/bsf/src/org/apache/bsf/util/JavaUtils.java~ 2002-11-13 06:28:54.000000000 +0000
+++ bsf-2.3.0/src/bsf/src/org/apache/bsf/util/JavaUtils.java 2005-06-01 18:11:23.000000000 +0100
@@ -82,7 +82,7 @@
};
try
{
- return new sun.tools.javac.Main(System.err, "javac").compile(args);
+ return new com.sun.tools.javac.Main().compile(args) == 0;
}
catch (Throwable th)
{