Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 839 Bytes

UPGRADE-2.1.0.md

File metadata and controls

29 lines (24 loc) · 839 Bytes

Upgrading to Philadelphia Extras 2.1.0

Philadelphia Extras 2.1.0 contains a change in its Java module support.

Philadelphia Extras 2.1.0 introduces rudimentary Java module support by setting module names fo all Philadelphia Extras libraries. These correspond to their package names. For example, the module name for Philadelphia Coinbase is:

com.paritytrading.philadelphia.coinbase

If you use Java modules in your application and currently reference Philadelphia Extras libraries using module names derived from their JAR names (as the JDK does by default), start using module names that correspond to their package names instead. See below for an example.

Before:

module example {
    requires philadelphia.coinbase;
}

After:

module example {
    requires com.paritytrading.philadelphia.coinbase;
}