[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [sca-j] NEW ISSUE: MAY clauses in JCA90029 and JCA90033 - [JAVA-142]
Hi, I have raised a new issue for this as Issue 142. See: http://www.osoa.org/jira/browse/JAVA-142 Thanks, Mark > -----Original Message----- > From: Simon Nash [mailto:oasis@cjnash.com] > Sent: 13 March 2009 10:32 > To: OASIS Java > Subject: [sca-j] NEW ISSUE: MAY clauses in JCA90029 and JCA90033 > > TARGET: Java Common Annotations and APIs > > DESCRIPTION: MAY clauses in JCA90029 and JCA90033 > > The meaning of the MAY clauses in JCA90029 and JCA90033 is > unclear. The clauses both say that a reference MAY continue > to work after its target service has been changed. If it does > not continue to work, is any behaviour (e.g., exiting the JVM) > acceptable? > > The sentences following JCA90029 and JCA90033 (currently marked > as non-normative) imply that a completely unconstrained failure > mode was not intended. They seem to imply that an exception > MUST be thrown, and the type of exception is implementation > dependent. > > I believe a more accurate way to state the intention of > JCA90029 and JCA90033 would be: > > If the target service....is changed, the reference MUST either > continue to work or throw an exception when it is invoked, > depending on the runtime and the type of change that was made. > > PROPOSAL: > > Change JCA90029 to: > > If the target service of the reference is changed, the reference > MUST either continue to work or throw an exception when it is invoked, > depending on the runtime and the type of change that was made. > > Change JCA90033 to: > > If the target service of a ServiceReference is changed, the reference > MUST either continue to work or throw an exception when it is invoked, > depending on the runtime and the type of change that was made. > > > > --------------------------------------------------------------------- > To unsubscribe from this mail list, you must leave the OASIS TC that > generates this mail. Follow this link to all your TCs in OASIS at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]