Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 547 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 547 Bytes

Wallet Reproducer

Reproduces a NullPointerException caused by oracle.security.pki.OracleWallet#n in oracle.security.pki.OracleWallet#open(String, char[]).

Only happens on Java 21, does not happen on Java 17.

Issue

The underlying issue is that javax.sql.DataSource#getConnection() of ojdbc11 is not thread safe on Java 21 when using wallets.

Running

export JAVA_HOME=
export WALLET_LOCATION=
sh run.sh