I want to install OpenJDK Java 11 on Mac OSX and have it work alongside other JDK's since it is a newer release. Currently, I downloaded the tar.gz and placed it in my path but that is hard to maintain.
I'm trying the new HTTP client API from JDK 11, specifically its asynchronous way of executing requests. But there is something that I'm not sure I understand (sort of an implementation aspect). In the documentation, it says:
Among other changes, JDK 11 introduces 6 new methods for java.lang.String class:In particular, strip() looks very similar to trim(). As per this article strip*() methods are designed to: