diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-01-28 19:34:18 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-01-28 19:34:18 (GMT) |
commit | 75ebc36309ccccdb4d5d53d1ae6eb666589bdde9 (patch) | |
tree | 0ecbc870edf4cf1293a9afc7a344a5a7354fe3fe /abs/extra/apache-ant/ant_diagnostics.patch | |
parent | 5290e03b241f22e1e378d92e533cd393cedd063f (diff) | |
download | linhes_pkgbuild-75ebc36309ccccdb4d5d53d1ae6eb666589bdde9.zip linhes_pkgbuild-75ebc36309ccccdb4d5d53d1ae6eb666589bdde9.tar.gz linhes_pkgbuild-75ebc36309ccccdb4d5d53d1ae6eb666589bdde9.tar.bz2 |
ant: update to 1.10.5. change to ant
Diffstat (limited to 'abs/extra/apache-ant/ant_diagnostics.patch')
-rw-r--r-- | abs/extra/apache-ant/ant_diagnostics.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/abs/extra/apache-ant/ant_diagnostics.patch b/abs/extra/apache-ant/ant_diagnostics.patch deleted file mode 100644 index 38148b4..0000000 --- a/abs/extra/apache-ant/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);
|