[weld-commits] Weld SVN: r7151 - cdi-api/trunk/src/main/java/javax/enterprise/inject/spi.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Thu Dec 16 12:47:26 EST 2010
Author: pete.muir at jboss.org
Date: 2010-12-16 12:47:25 -0500 (Thu, 16 Dec 2010)
New Revision: 7151
Modified:
cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java
cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java
Log:
revert parameter semantic ordering back to 1.0, this goes against the spec but spec takes lower precedence according to EE CTS team @ Oracle
Modified: cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java
===================================================================
--- cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java 2010-12-16 14:20:05 UTC (rev 7150)
+++ cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerField.java 2010-12-16 17:47:25 UTC (rev 7151)
@@ -28,9 +28,12 @@
* </p>
*
* @author David Allen
- * @param <T> The class of the bean declaring the producer field
- * @param <X> The type of the producer field
+ * @param <T> The type of the producer field
+ * @param <X> The class of the bean declaring the producer field
+ *
*/
+// These parameters are the wrong way according to the spec, however Oracle/JCP compatibility rules require us to
+// keep the wrong ordering
public interface ProcessProducerField<T, X> extends ProcessBean<X>
{
/**
Modified: cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java
===================================================================
--- cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java 2010-12-16 14:20:05 UTC (rev 7150)
+++ cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessProducerMethod.java 2010-12-16 17:47:25 UTC (rev 7151)
@@ -27,9 +27,11 @@
* </p>
*
* @author David Allen
- * @param <T> The class of the bean declaring the producer method
- * @param <X> The return type of the producer method
+ * @param <T> The return type of the producer method
+ * @param <X> The class of the bean declaring the producer method
*/
+//These parameters are the wrong way according to the spec, however Oracle/JCP compatibility rules require us to
+//keep the wrong ordering
public interface ProcessProducerMethod<T, X> extends ProcessBean<X>
{
/**
More information about the weld-commits
mailing list