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 jboss.com>
To: Dimitris Andreadis <dandread redhat.com>
CC: Carlo de Wolf <carlo.dewolf jboss.com>, Brian
Stansberry
<brian.stansberry redhat.com>, JBoss AS
<jboss-as redhat.com>,
Flavia Rainone <frainone redhat.com>
References: <4790849E.5080801 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 redhat.com
_______________________________________________
jbosscache-dev mailing list
jbosscache-dev lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
a>
|