Use Case
It would be good to be able to specify the OpenJDK version you want to install, so that you can override the default. That way you don't have to repeat the package name, paths, etc., which are already built up in https://github.com/puppetlabs/puppetlabs-java/blob/e627cdbcd2d059a284e5222bd9eddcd921892bd6/manifests/params.pp, but there is no way to use a non-default OpenJDK version, as far as I can tell.
Describe the Solution You Would Like
Provide a class parameter that allows for specifying the version of OpenJDK to be installed.