java
By Paul Krill Oracle in its Spring 2024 roadmap for Java SE (Standard Edition) reconfirmed it will extend support for Java 11 through January 2032, and will support Java 8 and Java 11 on the Solaris operating system until at least December 2030 and January 2032 respectively. The Java SE Spring 2024 roadmap update, published May 13, also notes the company’s continued commercial support of JavaFX and its planned sunsetting of the Advanced Management Console (AMC) after October 2024. AMC users should be migrating to Java Management Service (JMS), Oracle said. Solaris is the longtime Unix OS Oracl...
Info World
By Paul Krill The number of proposed features for Java Development Kit (JDK) 23, the next planned version of standard Java, has climbed to eight. The latest addition is a third preview of implicitly declared classes and instance main methods, features designed to make Java easier for beginners. Due September 17, JDK 23 also will include a vector API, which will be incubated for the eighth time, a second preview of stream gatherers, a second preview of a class-file API, and a preview of primitive types in patterns, instanceof, and switch. Other features include module import declarations, Markd...
Info World
By Rafael del Nero Developers often need to perform programming operations such as retrieving the current date, manipulating dates, and formatting dates in their applications. While Java's traditional java.util.Calendar class had its day, the newer LocalDate class does more with significantly fewer lines of code. This article introduces you to LocalDate and the java.time API for using dates, times, and durations in your programs. Note: Introduced in Java 8, java.time standardizes many elements of the popular Joda-Time library. Concepts introduced here can be applied to either library but the J...
Info World
By Paul Krill Oracle has released JDK Mission Control (JMC) 9, an update to the tool kit for monitoring, managing, profiling, and troubleshooting Java applications that adds a dark theme and makes the frequency of JVM checks configurable. The most significant change is that JMC now must use JDK 17 or later to run. JMC 9 was unveiled on April 21. Binaries can be downloaded from oracle.com. While JMC 9 requires JDK 17 or later, it still can read Java Flight Recorder (JFR) recordings from JDK 7u40 or later. JMC and the JFR profiling and event collection framework together offer a tool chain to co...
Info World
By Paul Krill The readability, maintainability, and usability of switch statements and expressions in Java would be improved by a proposal to allow exceptions to be handled in the switch block. The current OpenJDK proposal, “Exception handling in switch (Preview),” would be part of the Standard Edition of Java, although no specific version Java SE has been designated yet as the recipient. Specifically, the proposal calls for enhancing switch so that exceptions thrown by the selector (the e in switch (e) …) can be handled in the switch block. Goals of the plan, which was created January 12 and ...
Info World
By Paul Krill Java would be enhanced with the ability to succinctly import all packages exported by a module, under a proposal floating in the Java community. The plan would simplify the use of modular libraries in Java. The preview language feature for Java SE (Standard Edition), called Module Import Declarations, has been filed as a JDK Enhancement Proposal (JEP) in the OpenJDK community. Goals of the plan include simplifying the reuse of modular libraries by allowing entire modules to be imported at once, avoiding the noise of multiple type-import-on-demand declarations when using diverse p...
Info World
By Paul Krill Java services are the most-impacted by third-party vulnerabilities, according to the “State of DevSecOps 2024” report just released by cloud security provider Datadog. Released on April 17, the report found that 90% of Java services were susceptible to one or more critical or high-severity vulnerabilities introduced by a third-party library. The average for other languages was 47%. Datadog’s report analyzed tens of thousands of applications and container images and thousands of cloud environments to assess application security. Following Java in the vulnerabilities assessment wer...
Info World
By Paul Krill JetBrains is add full-line code autocompletion to its family of IDEs (integrated development environments), powered by locally run AI models. Full line code complеtion is available for Java, Kotlin, Python, JavaScript, TypeScript, CSS, PHP, Go, and Ruby with the 2024.1 versions of the respective IDEs. The April 4 launch provides the company’s IDEs with a seamless, full-line code completion experience, JetBrains said. This functionality ensures that data processing and analysis occur directly on the user’s device, resulting in quick code completion with minimal latency, according ...
Info World
By Paul Krill JetBrains’ IntelliJ IDEA 2024.1, a release of the integrated development environment (IDE) due on April 4, will feature an optional K2 compiler mode, enabling developers to use K2 for faster and more robust Kotlin code analysis, the company said. With this planned release, the IDE for Kotlin and Java will have two modes. The class mode, enabled by default, will use the standard K1 Kotlin compiler to analyze Kotlin code. The K2 mode will use the new K2 compiler as its code analysis engine. The K2 mode now is in an alpha state. The company made the announcement in a March 25 blog p...
Info World
By Simon Ritter With atomic clock-like regularity, the latest version of Java, JDK 22, was released last week. Although this is not a long-term support (LTS) release, there is nothing to stop you from using it in production, and it contains some interesting new features. Let’s dive in and see what this brings us. New features for the Java platform are defined through JDK Enhancement Proposals (JEPs), and JDK 22 contains 12 of these. Coincidentally, over the last 13 Java releases, since the switch to a six-month cadence, the average number of JEPs (to the nearest integer) is also 12. You could,...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら