Github user danielsun1106 commented on a diff in the pull request:
https://github.com/apache/groovy/pull/502#discussion_r102385098
--- Diff: src/test/groovy/lang/BindingScript.java ---
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
[
https://issues.apache.org/jira/browse/GROOVY-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoffer Hammarström updated GROOVY-8096:
Description:
I created a pull request on GitHub with a failing test
[
https://issues.apache.org/jira/browse/GROOVY-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoffer Hammarström updated GROOVY-8096:
Description:
I created a pull request on GitHub with a failing test
[
https://issues.apache.org/jira/browse/GROOVY-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoffer Hammarström updated GROOVY-8096:
Description:
I created a pull request on GitHub with a failing test
[
https://issues.apache.org/jira/browse/GROOVY-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoffer Hammarström updated GROOVY-8096:
Description:
I created a pull request on GitHub with a failing test
Christoffer Hammarström created GROOVY-8096:
---
Summary: setScriptBaseClass with Java base class breaks @Field
initialization from Binding due to wrong constructor
Key: GROOVY-8096
URL:
Daniel Sun created GROOVY-8095:
--
Summary: Provide logging for bytecode generation
Key: GROOVY-8095
URL: https://issues.apache.org/jira/browse/GROOVY-8095
Project: Groovy
Issue Type: New Feature
GitHub user danielsun1106 opened a pull request:
https://github.com/apache/groovy/pull/503
Provide logging for bytecode generation
## Background
Debugging bytecode issues is a hard work, one of reason is lack of logging.
## Solution
The PR provides
GitHub user kreiger opened a pull request:
https://github.com/apache/groovy/pull/502
CompilerConfiguration.setScriptBaseClass with Java class calls super()
instead of super(Binding)
This test fails because `ModuleNode.setScriptBaseClassFromConfig(ClassNode)`
calls