![]() The current LTS release is JDK 11, which was released in September 2018. ![]() The next long-term support (LTS) release, which will receive several years of support, will be JDK 17, which is due to arrive in September 2021. ![]() JDK 15 will be a short-term feature release, supported for six months according to Oracle’s six-month release cadence. Most jOOQ users use the jOOQ DSL API, which provides compile time type safety and an easy way to write dynamic SQL. The OpenJDK 15 proposal calls for removing Nashorn APIs and the jjs command line tool used to invoke Nashorn.Įarly access builds of JDK 15 can be found at . Tag: text blocks Using Java 13+ Text Blocks for Plain SQL with jOOQ. Meanwhile, Nashorn, which debuted in JDK 8 in March 2014, has since been made obsolete by technologies such as GraalVM. The OpenJDK developers hope to add escape sequences to manage explicit white space and newline control. Of the two OpenJDK 15 proposals, Text blocks, previewed in both JDK 14 and JDK 13, are intended to simplify the task of writing Java programs by making it easy to express strings that span several lines of source code, while avoiding escape sequences in common cases.Ī text block is a multi-line string literal that avoids the need for most escape sequences, automatically formats the string in a predictable manner, and offers the developer control over the format when desired.Ī goal of the text blocks proposal is enhancing the readability of strings in Java programs that denote code written in non-Java languages.Īnother goal is to support migration from string literals by stipulating that any new construct can express the same set of strings as a string literal, interpret the same escape sequences, and be manipulated in the same fashion as a string literal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |