Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-156

Exception thrown by ClassFileTransformer not propagated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.5.GA, 1.1.5.GA, 1.2.0.CR2
    • 1.2.0.CR1
    • Core
    • None

      Working on OSGi R5 TCK I noticed that an Exception thrown by a registered ClassFileTransformer does not end up as the cause of the final CNFE.

      The TCK expects a ClassFormatError with the RuntimeException thrown by the WeavingHook as cause. I believe the expected CFE is an invalid assertion (i.e. not speced) but the cause should nevertheless not get lost.

              dlloyd@redhat.com David Lloyd
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: