Nicolai Parlog 4/3/2017

Optional Dependencies with requires static

Read Original

This technical article dives into the Java Platform Module System's (JPMS) handling of optional dependencies. It explains the problem with strict 'requires' clauses and demonstrates how 'requires static' allows modules to compile against dependencies that may not be present at runtime. The post includes practical examples and discusses strategies for coding against these potentially missing dependencies.

Optional Dependencies with requires static

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week