Overriding module behavior

jdeps is great at identifying internal API access and suggesting fixes. They come in handy when fixing your own application code that contains such problems. But what if jdeps reports problems with some code in a library or a framework you are using? In such cases, you have lesser control over the code. Even if the framework itself is open source, the scale and complexity of the library may not make it feasible for you to implement the fix yourself. This does present a very clear risk for applications moving to Java 9--your app won't run in Java 9 until all your libraries are updated to work in Java 9. It's very likely that most library developers have either already heeded to the scores of warnings in Java 8 and ...

Get Modular Programming in Java 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.