Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Software Testing with JUnit 5

You're reading from   Mastering Software Testing with JUnit 5 Comprehensive guide to develop high quality Java applications

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781787285736
Length 350 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Boni Garcia Boni Garcia
Author Profile Icon Boni Garcia
Boni Garcia
Arrow right icon
View More author details
Toc

Java 9

Java 9 was released for General Availability (GA) on September 21, 2017. There are many new features shipped with Java 9. Among them, modularity is the defining feature for Java 9.

So far, there has been a problem of modularity in Java, especially significant for large codebases. Every public class can be accessed by any other class in the classpath, leading to inadvertent usage of classes. In addition, the classpath presents potential problems, such as the inability to know whether or not there are duplicated JARs. To solve these problems, Java 9 provides the Java Platform Module System, which allows to create modular JAR files. This type of modules contains an additional module descriptor called module-info.java. The content of such files is quite simple: it declares dependencies to other modules using the keyword requires, and exports its own packages with the keyword...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image