java
By Matthew Tyson Java’s sun.misc.Unsafe class has been in use since 2002. It provides essential low-level methods that framework developers use to deliver otherwise unobtainable features and performance. Unfortunately, Unsafe also has long-standing problems related to JVM maintainability. And, as the name implies, it isn't exactly safe to use. A newer JEP proposes to remove sun.misc.Unsafe's memory access methods in a future Java release. But what will replace them? This article looks at the Unsafe class, why some of its methods are slated for removal, and what developers can do to prepare for...
Info World
By Peter Wayner When the browser began, it was just a window for displaying some text and maybe a few images. It was just a new way to distribute the same kind of documents that you might find on a coffee table, like magazines or books. Java, JavaScript, and CSS changed all that. Just adding a bit of Turing-complete functionality was all it took, and clever programmers found ways to duplicate word processors, games, and more inside what once was a container for words and pictures sitting still. For all the creativity, though, applications running in browsers were still slower and more resource...
Info World
By Paul Krill The feature set for Java Development Kit (JDK) 23, the next planned version of standard Java, has been finalized at an even dozen. A proposed third preview of string templates, which was also previewed in JDK 22 and JDK 21, has been dropped from JDK 23. Due September 17, JDK 23 will include third previews of scoped values, structured concurrency, and implicitly declared classes and instance methods, and second previews of flexible constructor bodies, stream gatherers, and a class-file API. JDK 23 will also include module import declarations, Markdown documentation comments, an ei...
Info World
By Paul Krill Quarkus 3.11, the latest version of the Red Hat-sponsored Kubernetes-native Java framework, has been released. The update introduces dev extensions for observability and an experimental WebSockets extension. Quarkus 3.11 was announced May 29. Developers can update by using the latest version of the Quarkus CLI and running quarkus update. Discussing the dev extensions for observability in a blog post, Red Hat software engineer Guillaume Smet noted efforts have been made to simplify the setup of development resources for observability, including resources for Grafana, Jaeger, OTel,...
Info World
By Paul Krill Azul Systems specializes in providing Java technologies ranging from supported OpenJDK builds to Azul Intelligence Cloud, offering actionable intelligence from Java runtime data. The company maintains both technical and competitive relationships with Oracle, the Java steward. InfoWorld Editor at Large Paul Krill recently interviewed Azul CEO Scott Sellers, The following interview touches on Java’s place in the burgeoning AI space and where Java fits in the world of software today. InfoWorld: Java is usually not the first language that comes to mind with AI; it usually would be Py...
Info World
By Simon Ritter Despite advances in cloud computing, mobile development, and AI, the day-to-day business of enterprises around the world still runs on three programming languages that made their debut in the 1990s. In nearly every ranking system, JavaScript, Python, and Java appear near the top of the most popular languages. In GitHub’s yearly State of the Octoverse report, the programming trifecta has held three of the top four spots every year since 2014. Why have these programming powerhouses remained the top choices for developers for nearly 30 years, with no sign of anything knocking them...
Info World
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 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
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら