There are 2 bugs in the client side encryption doc (java driver). The second example does not compile.
it should be
I am talking about this page: https://mongodb.github.io/mongo-java-driver/3.11/driver/tutorials/client-side-encryption/
Also it is only working in java >= Java 10
We should add a comment that you need java 10 or provide a java 8 example
I am seeing lot’s of developers struggling with our examples because they are not as skilled as you might expect them to be
here is my example that works in Java 10