changeset in /hg/icedtea: Add fix for JMX @Override issue.

gnu_andrew at member.fsf.org gnu_andrew at member.fsf.org
Thu May 29 14:13:54 PDT 2008


changeset 0e9e31da45ab in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=0e9e31da45ab
description:
	Add fix for JMX @Override issue.

diffstat:

2 files changed, 24 insertions(+)
ChangeLog                 |    5 +++++
patches/icedtea-ecj.patch |   19 +++++++++++++++++++

diffs (41 lines):

diff -r d506b2e81391 -r 0e9e31da45ab ChangeLog
--- a/ChangeLog	Mon May 26 19:35:28 2008 +0100
+++ b/ChangeLog	Mon May 26 19:36:53 2008 +0100
@@ -1,3 +1,8 @@ 2008-05-26  Andrew John Hughes  <gnu_and
+2008-05-26  Andrew John Hughes  <gnu_andrew at member.fsf.org>
+
+	* patches/icedtea-ecj.patch:
+	Add fix for JMX @Override issue.
+	
 2008-05-26  Andrew John Hughes  <gnu_andrew at member.fsf.org>
 
 	* Makefile.in: Regenerated.
diff -r d506b2e81391 -r 0e9e31da45ab patches/icedtea-ecj.patch
--- a/patches/icedtea-ecj.patch	Mon May 26 19:35:28 2008 +0100
+++ b/patches/icedtea-ecj.patch	Mon May 26 19:36:53 2008 +0100
@@ -1626,6 +1626,25 @@ diff -Nru openjdk-ecj.orig/jdk/src/share
  
      /**
       * Maximum exponent a finite {@code float} variable may have.  It
+diff -Nru openjdk-ecj.orig/jdk/src/share/classes/javax/management/AttributeValueExp.java openjdk-ecj/jdk/src/share/classes/javax/management/AttributeValueExp.java
+--- openjdk-ecj.orig/jdk/src/share/classes/javax/management/AttributeValueExp.java	2008-05-26 19:27:49.000000000 +0100
++++ openjdk-ecj/jdk/src/share/classes/javax/management/AttributeValueExp.java	2008-05-26 19:28:38.000000000 +0100
+@@ -113,7 +113,6 @@
+      * @exception BadBinaryOpValueExpException
+      *
+      */
+-    @Override
+     public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException,
+         BadAttributeValueExpException, InvalidApplicationException {
+         Object result = getAttribute(name);
+@@ -150,7 +149,6 @@
+        evaluted an AttributeValueExp can only appear inside a QueryExp,
+        and that QueryExp will itself have done setMBeanServer.  */
+     @Deprecated
+-    @Override
+     public void setMBeanServer(MBeanServer s)  {
+     }
+ 
 diff -Nru openjdk-ecj.orig/langtools/make/Makefile openjdk-ecj/langtools/make/Makefile
 --- openjdk-ecj.orig/langtools/make/Makefile	2008-05-26 01:29:37.000000000 +0100
 +++ openjdk-ecj/langtools/make/Makefile	2008-05-26 01:35:42.000000000 +0100



More information about the distro-pkg-dev mailing list