Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7-beta-2
-
Fix Version/s: 1.7-rc-1
-
Component/s: Groovy Console
-
Labels:None
-
Environment:all
-
Number of attachments :
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.
Activity
Roshan Dawrani
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | 3833_v17x.txt [ 45484 ] |
Roshan Dawrani
made changes -
| Assignee | Roshan Dawrani [ roshandawrani ] |
Roshan Dawrani
made changes -
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 1.7-rc-1 [ 14666 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Hi Hamlet, attaching a patch here for review. Let me know if it seems ok. I have tested from UI with the steps you provided in the JIRA.