ojdkbuild / ojdkbuild

Community builds using source code from OpenJDK project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fixed User Keystore Password Prompt

patris70 opened this issue · comments

Hi,

If user previously used Oracle Java and also had user keystore, Icedtea-Web gets KeyStore Password popup window, because Oracle Java does not set password for user keystore.
Here is fix:

Updates to net/sourceforge/jnlp/security/KeystorePasswordAttempter.java
Change Line 128
From:

static final KeystorePasswordAttempter INSTANCE = new KeystorePasswordAttempter(new SavedPassword(getTrustedCertsPassword()));

To:

static final KeystorePasswordAttempter INSTANCE = new KeystorePasswordAttempter(new SavedPassword(getTrustedCertsPassword()), new SavedPassword("".toCharArray()));

Fix is added now and going to be included into 8u232 build. You may also consider bringing it to AdoptOpenJDK/IcedTea-Web.

Fixed in 8u232, closing the issue.