You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/11/09 17:55:03 UTC
[jira] [Commented] (ISIS-1754) JEE Support - replace Class.forName
with TCL.loadClass (+ patching DN)
[ https://issues.apache.org/jira/browse/ISIS-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246160#comment-16246160 ]
ASF subversion and git services commented on ISIS-1754:
-------------------------------------------------------
Commit ab2b0697c7b1104610cb25c22062ba8b6d8c29f2 in isis's branch refs/heads/dev/2.0.0/ISIS-1767-jee-7 from [~hobrom]
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=ab2b069 ]
ISIS-1754 context aware class-loading for Isis
> JEE Support - replace Class.forName with TCL.loadClass (+ patching DN)
> ----------------------------------------------------------------------
>
> Key: ISIS-1754
> URL: https://issues.apache.org/jira/browse/ISIS-1754
> Project: Isis
> Issue Type: Improvement
> Reporter: Dan Haywood
> Assignee: Andi Huber
> Fix For: 2.0.0
>
>
> as per https://lists.apache.org/thread.html/a815c6d3e50c02111d0cd3df93b70b529c18193f321e613b116119b4@%3Cdev.isis.apache.org%3E
> Class.forName(...), so we need a plug-able class-loading mechanism.
> (What worked for me is
> Thread.currentThread().getContextClassLoader().loadClass(...)).
> Unfortunately this applies also to DataNucleus. So I had to patch their
> class loading mechanism. (Sounds dramatic, but was just a single line of
> code.)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)