diff -r cc682329886b -r b0610cd08440 src/share/jaxws_classes/javax/annotation/PreDestroy.java --- a/src/share/jaxws_classes/javax/annotation/PreDestroy.java Thu Sep 26 10:43:28 2013 -0700 +++ b/src/share/jaxws_classes/javax/annotation/PreDestroy.java Fri Oct 04 16:21:34 2013 +0100 @@ -37,18 +37,38 @@ * supported by all container managed objects that support PostConstruct * except the application client container in Java EE 5. The method on which * the PreDestroy annotation is applied MUST fulfill all of the following - * criteria:
+ *
+ * void <METHOD>(InvocationContext) + *
+ * Object <METHOD>(InvocationContext) throws Exception + *
+ * Note: A PreDestroy interceptor method must not throw application + * exceptions, but it may be declared to throw checked exceptions including + * the java.lang.Exception if the same interceptor method interposes on + * business or timeout methods in addition to lifecycle events. If a + * PreDestroy interceptor method returns a value, it is ignored by + * the container. + *
+ * void <METHOD>() + *