A contributor submitted a PR[1] to our geode examples project that uses Java 11 APIs. It doesn't pass travis because we're still building the examples with Java 8.
I think it might be reasonable to switch the minimum java version of the examples to Java 11. If there are no objections, I'll go ahead and create a PR to switch the java version we use to build the examples. [1] https://github.com/apache/geode-examples/pull/104