Hi Mark,
Looks like a bug, please file a WBTCK :-)
Thanks
On 26 Feb 2009, at 16:42, Mark Struberg wrote:
Hi!
I have a question on the
ContextTest#testGetContextWithTooManyActiveContextsFails()
The spec says that 2 _active_ contexts may not be registered at the
same time.
However, you assume an IllegalArgumentException to be thrown if two
active contexts exists while calling the addContext() function (btw
cannot find this in the Spec).
On the other hand, the Spec requests to throw an
IllegalStateException for the getContext() if two active contexts
exist.
Can we harmonise this?
Or if ok the way it is, explain the background?
This imho seams to interfere with the 'general rules' of jsr-299
Exceptions you (or Gavin) mentioned in a post a few months ago
txs and LieGrue,
strub
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete