Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-132

Filter before loading classes in URLPackageScanner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-alpha-8
    • None
    • None
    • None

      URLPackageScanner loads the classes it finds before the the Filter kicks in. This makes Classes compiled against missing libraries at runtime impossible to filter out.
      Ttwo changes should be made:

      • URLPackageScanner should return refs to ClassLoader Resources instead of classes
      • The Filter should be changed to Filter<Path> instead of Filter<Class> and applied before the Class is loaded.

            aslak@redhat.com Aslak Knutsen
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: