Permalink
Browse files

creating tag for 1.7.6 release

git-svn-id: http://svn.codehaus.org/groovy/tags/GROOVY_1_7_6@21328 a5544e8c-8a19-0410-ba12-f9af4593a198
  • Loading branch information...
1 parent 08d36e5 commit eb816e9cf9912947f1e759d683f94608fc21612a @blackdrag blackdrag committed Dec 15, 2010
Showing with 10 additions and 4 deletions.
  1. +2 −2 build.properties
  2. +1 −1 pom.xml
  3. +7 −1 src/main/org/codehaus/groovy/runtime/ConversionHandler.java
View
@@ -1,6 +1,6 @@
-groovyVersion = 1.7.6-SNAPSHOT
+groovyVersion = 1.7.6
# bundle version format: major('.'minor('.'micro('.'qualifier)?)?)? (first 3 only digits)
-groovyBundleVersion = 1.7.6.SNAPSHOT
+groovyBundleVersion = 1.7.6
# Many people have reported problems testing UberTestCaseGroovySourceSubPackages, others have no difficulties with the default
# values ant junit task uses. The decision has been taken to provide the values to try and cause the least
View
@@ -8,7 +8,7 @@
<name>Groovy</name>
<packaging>jar</packaging>
- <version>1.7.6-SNAPSHOT</version>
+ <version>1.7.6</version>
<description>
Groovy: A powerful, dynamic language for the JVM
@@ -16,6 +16,8 @@
package org.codehaus.groovy.runtime;
+import groovy.lang.GroovyRuntimeException;
+
import java.io.Serializable;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.InvocationTargetException;
@@ -76,7 +78,11 @@ public Object getDelegate() {
*/
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if (!checkMethod(method)) {
- return invokeCustom(proxy, method, args);
+ try {
+ return invokeCustom(proxy, method, args);
+ } catch (GroovyRuntimeException gre) {
+ throw ScriptBytecodeAdapter.unwrap(gre);
+ }
}
try {
return method.invoke(this, args);

0 comments on commit eb816e9

Please sign in to comment.