diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-06-11 14:44:44 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-06-11 14:44:44 -0300 |
commit | d552afbbdc76f89dc83c6dcbeeaa81478ffd0e47 (patch) | |
tree | 561d498fe448b1bacb21ca6ff8cbc6fee5a3f751 /libre/apache-ant-libre/ant_diagnostics.patch | |
parent | b1617c9b6e0460394b39b0e11bf41f22e77936a4 (diff) | |
parent | 6d006ae5a02b1276e0fe231c95a23465e126e759 (diff) |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/apache-ant-libre/ant_diagnostics.patch')
-rw-r--r-- | libre/apache-ant-libre/ant_diagnostics.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libre/apache-ant-libre/ant_diagnostics.patch b/libre/apache-ant-libre/ant_diagnostics.patch deleted file mode 100644 index 38148b45c..000000000 --- a/libre/apache-ant-libre/ant_diagnostics.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/src/main/org/apache/tools/ant/Diagnostics.java -+++ b/src/main/org/apache/tools/ant/Diagnostics.java -@@ -179,7 +179,10 @@ - * @param clazz the class to get the information from.
- * @since Ant 1.8.0
- */
-- private static URL getClassLocation(Class clazz) {
-+ private static URL getClassLocation(Class clazz) { -+ if (clazz.getProtectionDomain().getCodeSource() == null) { -+ return null; -+ }
- return clazz.getProtectionDomain().getCodeSource().getLocation();
- }
-
-@@ -241,7 +244,7 @@ - }
- Transformer transformer = null;
- try {
-- transformer = transformerFactory.newTransformer();
-+ transformer = transformerFactory.newTransformer(); - } catch (Exception e) {
- // ignore
- ignoreThrowable(e);
|