summaryrefslogtreecommitdiff
path: root/libre/apache-ant-libre/ant_diagnostics.patch
diff options
context:
space:
mode:
authorMárcio Silva <marcio@pc-02.localdomain>2012-06-06 17:14:47 -0300
committerMárcio Silva <marcio@pc-02.localdomain>2012-06-06 17:14:47 -0300
commit0724a23f4f986eda5d8b3900cdb3981807e959a2 (patch)
treed2ed4cbe7b994b46e83d0fd36dd05a4547ac041e /libre/apache-ant-libre/ant_diagnostics.patch
parent880a2853c1b2ad560b3a3f04d818a787ffba3d0b (diff)
parent700fcc8432e9327a196d9a5f3526983a3cc66d7c (diff)
downloadabslibre-0724a23f4f986eda5d8b3900cdb3981807e959a2.tar.gz
abslibre-0724a23f4f986eda5d8b3900cdb3981807e959a2.tar.bz2
abslibre-0724a23f4f986eda5d8b3900cdb3981807e959a2.zip
Merge ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/apache-ant-libre/ant_diagnostics.patch')
-rw-r--r--libre/apache-ant-libre/ant_diagnostics.patch23
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);