BeanValidation java 8 upgrade

210 views
Skip to first unread message

Fabien Dumay

unread,
Oct 1, 2014, 5:39:44 AM10/1/14
to google-web-tool...@googlegroups.com
Dear contributors,

This weekend, Thomas requested volunteers to make the bean validation compliant with java 8.
The Putnami team (Theophane and I) is interested to contribute on that issue. but we need a bit more inputs.

1. What is the due date?
2. Is the bean validation is only required for the Editor framework and RequestFactory or does GWT allow other entry point to the API?
3. What is the latitude we've got? Can we submit a patch to replace the hibernate-validation or is the task is just to upgrade to 4.3.2?
4. Is there any expectations to get bean validation 1.1 soon?

The only inputs that we have are:
the review : 9320 and the issues 7661 and 8914
Is there more stuff, maybe requirements?

Regards.

--
Fabien

Thomas Broyer

unread,
Oct 1, 2014, 5:57:23 AM10/1/14
to google-web-tool...@googlegroups.com
On Wednesday, October 1, 2014 11:39:44 AM UTC+2, Fabien Dumay wrote:
Dear contributors,

This weekend, Thomas requested volunteers to make the bean validation compliant with java 8.
The Putnami team (Theophane and I) is interested to contribute on that issue. but we need a bit more inputs.

1. What is the due date?

I'll let others chime in, but I think we'd want it ASAP.
 
2. Is the bean validation is only required for the Editor framework and RequestFactory or does GWT allow other entry point to the API?

Editor and RF have a dependency on the ConstraintViolation interface (mostly as "consumers", but RF also implements it to map violations received by the server to the Receiver's onConstraintViolations)
 
3. What is the latitude we've got? Can we submit a patch to replace the hibernate-validation or is the task is just to upgrade to 4.3.2?

Nobody maintains Bean Validation support in GWT (on roadmap, nobody to review patches, etc.), so I think everything's possible, provided you don't break backwards compatibility.
The short-term goal is to have GWT compile with a JDK 8, anything else is bonus, but shouldn't slow you down.
I'll advocate to split it into a separate project after 2.7 (or maybe for 2.7 if it takes too much time/energy to update it for JDK 8)
 
4. Is there any expectations to get bean validation 1.1 soon?

See #3 above.
 

The only inputs that we have are:
the review : 9320 and the issues 7661 and 8914
Is there more stuff, maybe requirements?

Have a look at commit logs, and possibly refer to their corresponding review (there should be links in most commits; and when there's not and there's a Change-Id, you can copy/paste it to Gerrit's search box)
Reply all
Reply to author
Forward
0 new messages