Support JDK8's Optional class

Description

It would be nice to bring support of JDK8's Optional class.

Before JDK8, using Guava Optional class doesn't go very well with bean validation while I guess the user should be able to make the choice of using null values + @NotNull, or using Optional<Value>, but still be able to validate the non-null value

I guess it is a bit related to this:
https://hibernate.atlassian.net/browse/BVAL-202

Environment

None

Assignee

Unassigned

Reporter

SĂ©bastienL

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Critical
Configure