You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/05/08 21:58:00 UTC

[jira] [Created] (MPIR-435) Custom bundle sometimes not loaded due to parent-first class loading

Michael Osipov created MPIR-435:
-----------------------------------

             Summary: Custom bundle sometimes not loaded due to parent-first class loading
                 Key: MPIR-435
                 URL: https://issues.apache.org/jira/browse/MPIR-435
             Project: Maven Project Info Reports Plugin
          Issue Type: Bug
    Affects Versions: 3.4.3
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: 3.4.4


When a custom bundle is provided and the name is identical the the bundled one and if the class loader uses a parent-first (default) approach then the custom bundle isn't considered at all because the parent CL contains it already. The {{URLClassLoader}} we pass must not have a parent in this case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)