miachm / SODS

A simple Java library for handle ODS (Open Document Spreadsheet, compatible with Excel and Libreoffice)
The Unlicense
74 stars 30 forks source link

Add automatic module name #9

Closed charphi closed 5 years ago

miachm commented 5 years ago

What is it does?

charphi commented 5 years ago

This adds an automatic-module-name entry in MANIFEST.MF so that the jar plays nice with the module-path (Java Platform Module System introduced in Java9) See http://branchandbound.net/blog/java/2017/12/automatic-module-name/

miachm commented 5 years ago

What about if you compile for JDK8?

charphi commented 5 years ago

In fact you compile your library for JDK8 with the new entry in MANIFEST.MF as usual. Your library runs normaly with Java8+ on classic classpath. The only change is that you will be able to use it also on modulepath.

miachm commented 5 years ago

Good, then go for it!