ASF Bugzilla – Attachment 22845 Details for
Bug 46172
xslt task's factory attribute broken: TraXLiaison uses incorrect class loader.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A diff against ANT_17_BRANCH
trax-bug.patch (text/plain), 751 bytes, created by
Dawid Weiss
on 2008-11-09 12:25:57 UTC
(
hide
)
Description:
A diff against ANT_17_BRANCH
Filename:
MIME Type:
Creator:
Dawid Weiss
Created:
2008-11-09 12:25:57 UTC
Size:
751 bytes
patch
obsolete
>Index: src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java >=================================================================== >--- src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java (wersja 712545) >+++ src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java (kopia robocza) >@@ -362,7 +362,8 @@ > tfactory = TransformerFactory.newInstance(); > } else { > try { >- Class clazz = Class.forName(factoryName); >+ Class clazz = Thread.currentThread() >+ .getContextClassLoader().loadClass(factoryName); > tfactory = (TransformerFactory) clazz.newInstance(); > } catch (Exception e) { > throw new BuildException(e);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46172
: 22845