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
diff --git a/build.properties b/build.properties
index 0fb25c4..e39989e 100644
--- a/build.properties
+++ b/build.properties
@@ -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
diff --git a/pom.xml b/pom.xml
index 889f5db..97f52ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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
diff --git a/src/main/org/codehaus/groovy/runtime/ConversionHandler.java b/src/main/org/codehaus/groovy/runtime/ConversionHandler.java
index 39cdd04..e41bff3 100644
--- a/src/main/org/codehaus/groovy/runtime/ConversionHandler.java
+++ b/src/main/org/codehaus/groovy/runtime/ConversionHandler.java
@@ -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 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);