Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3833

AST Browser doesn't use same classloader as groovyConsole. loaded JARs aren't found in AST Browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7-beta-2
    • 1.7-rc-1
    • Groovy Console
    • None
    • all

    Description

      The GroovyConsole AST browser doesn't use the same classloader for the AST BRowser.

      1. Open groovyConsole and import a JAR using the Script menu item.
      2. Write a script that uses something out of that JAR
      3. Open AST Browser
      4. AST browser will show a ClassNodeFOund exception for anything out of the JAR

      I suspect that the classes are being loaded into the classloader GroovyConsole uses to execute the script but not the classloader used to execute AST Browser.

      Attachments

        1. 3833_v17x.txt
          3 kB
          Roshan Dawrani

        Activity

          People

            roshandawrani Roshan Dawrani
            hamletdrc Hamlet D'Arcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: