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

Need a better way to debug NCDFE

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta9
    • None
    • None
    • None
    • Low

      <dmlloyd> adding a catch in loadClass() for NoClassDefFoundError. When one is encountered, it will create a new, wrapping NCDFE which includes the current class name being looked up. This way the user gets a visual backtrace of what class was being linked at the time of the failure.
      <dmlloyd> the thinking is that the VM will erase a CNFE, but it will leave NCDFE untouched.
      <dmlloyd> or perhaps better would be to do the wrapping in defineClass()

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

                Created:
                Updated:
                Resolved: