eclipse-ee4j / grizzly

Grizzly
https://eclipse-ee4j.github.io/grizzly
Other
147 stars 68 forks source link

src: drop NullaryFunction in favor or java.util.Supplier #2179

Closed kofemann closed 11 months ago

kofemann commented 1 year ago

The NullaryFunction has an equivalent in standard java API. So, lets use it.

mnriem commented 12 months ago

@kofemann Is this change backwards compatible?

arjantijms commented 11 months ago

@mnriem maybe we can just build it, and test it? E.g. by adding it to GlassFish and running all tests that we have?

kofemann commented 11 months ago

@mnriem I am pretty sure this is not a drop-in replacement. However, I have no idea which external applications use grizzly internals. So, I agree with @arjantijms, we just have to build packages, document the change and let depending applications to test.