Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5907

uima-as dd2spring fails due to classloading setup, after UIMA-5754

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.3AS
    • 3.0.0AS, 3.0.1AS
    • Async Scaleout
    • None

    Description

      UIMA-5754 changed how the bootstrap class loader sets up class path, because after Java 9, it is no longer possible to add classes to the application classpath. This change breaks how dd2spring sets up the classpath for saxon. It needs to set this up with a special extra class loader which implements the logic of trying the thread-local context class loader, but if a resource is not found there, then trying the classloader used to load the uima classes (which is no longer the application class loader, which is the value of the ThreadLocal context ClassLoader.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment