Thanks for this.
Will be corrected before the next CR.
http://jira.jboss.org/jira/browse/JBCACHE-1271
On 18 Jan 2008, at 18:36, Brian Stansberry wrote:
There's been a change in the public API in 2.1.0.CR3:
Option.clone()
no longer throws CloneNotSupportedException.
This may break apps upgrading from 2.0.0; see example below.
-------- Original Message --------
Subject: Re: ejb3-head-testsuite spike
Date: Fri, 18 Jan 2008 12:58:49 +0000
From: Kabir Khan <kabir.khan(a)jboss.com>
To: Dimitris Andreadis <dandread(a)redhat.com>
CC: Carlo de Wolf <carlo.dewolf(a)jboss.com>, Brian Stansberry
<brian.stansberry(a)redhat.com
>, JBoss AS <jboss-as(a)redhat.com>, Flavia Rainone <frainone(a)redhat.com
>
References: <4790849E.5080801(a)redhat.com>
<snip/>
Also, yesterday following the jboss cache upgrade, in order to be able
to build I had to make the following changes to
StatefulTreeCache.java:
@@ -679,31 +679,31 @@
}
}
}
-
+
private static Option getLocalOnlyOption()
{
- try
- {
+ //try
+ //{
return LOCAL_ONLY_OPTION.clone();
- }
- catch (CloneNotSupportedException e)
- {
- throw new RuntimeException(e);
- }
+ //}
+ //catch (CloneNotSupportedException e)
+ //{
+ // throw new RuntimeException(e);
+ //}
}
-
+
private static Option getGravitateOption()
{
- try
- {
+ //try
+ //{
return GRAVITATE_OPTION.clone();
- }
- catch (CloneNotSupportedException e)
- {
- throw new RuntimeException(e);
- }
+ //}
+ //catch (CloneNotSupportedException e)
+ //{
+ // throw new RuntimeException(e);
+ //}
}
-
+
--
Kabir Khan
JBoss AOP Lead
JBoss, a division of Red Hat
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
_______________________________________________
jbosscache-dev mailing list
jbosscache-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
--
Manik Surtani
Lead, JBoss Cache
manik(a)jboss.org