uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-6057) Avoid falsely switching classloader
Date Tue, 02 Jul 2019 14:17:00 GMT

    [ https://issues.apache.org/jira/browse/UIMA-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877008#comment-16877008

Marshall Schor commented on UIMA-6057:

ok, this is a generalization beyond my previous suggestion of JCas, and using some kind of
regex -like expression.

We could do this.  I always try to consider if I'm "implementing beyond use-cases" and tend
to try to avoid that (because the use cases either never appear, or sometimes they appear,
but are not what were imagined, and some different kind of approach is warranted).  This
(to me) has to be "balanced" with some common-sense architecturally based extensions.

Also, I like your thought of "preferring" the parent, as opposed to requiring the parent (to
allow a pear to be used sometimes in a context where the parent defines "Foo", and also in
other contexts where it doesn't.)

> Avoid falsely switching classloader
> -----------------------------------
>                 Key: UIMA-6057
>                 URL: https://issues.apache.org/jira/browse/UIMA-6057
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Matthias Koch
>            Priority: Major
>         Attachments: UIMA-6057.diff
> In some cases the classloader is switched back, although it hasn't be switched before

This message was sent by Atlassian JIRA

View raw message