jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] [1430-RepeatableAnnotations] PROPOSAL

From: Edward Burns <edward.burns_at_oracle.com>
Date: Fri, 16 Sep 2016 14:46:32 -0700

Hello Volunteers,

While reviewing the Java EE Guardians list in preparation for JavaOne, I
came across some apparently very low hanging fruit. A quick search of
our JIRA did not reveal an existing issue for this, so I'm filing it
now: JAVASERVERFACES_SPEC_PUBLIC-1430-Repeatable Annotations support.

Here is the Java EE Guardians thread: <https://groups.google.com/forum/#!topic/javaee-guardians/4vb_kdWhMj8>.

A quick grep of our annotations (excluding the now deprecated
ManagedBeans ones) reveals the following likely candidates:

public @interface ManagedProperty {
./src/main/java/javax/faces/annotation/ManagedProperty.java

public @interface ListenerFor {
./src/main/java/javax/faces/event/ListenerFor.java
public @interface ListenersFor {
./src/main/java/javax/faces/event/ListenersFor.java

public @interface ResourceDependencies {
./src/main/java/javax/faces/application/ResourceDependencies.java
public @interface ResourceDependency {
./src/main/java/javax/faces/application/ResourceDependency.java

Any reason we should not make these SE 8 repeatable compatible?

I plan to implement this during my time in the JavaOne HackerGarten
Monday at 10am PDT [1].

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
[1] http://hackergarten.net/