Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1513989 - on Java 9
Summary: on Java 9
Alias: None
Product: Fedora
Classification: Fedora
Component: java-9-openjdk
Version: 27
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
: 1514736 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-16 12:47 UTC by Lukáš Petrovický
Modified: 2017-12-04 19:03 UTC (History)
6 users (show)

Fixed In Version: java-9-openjdk-
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-12-04 19:03:49 UTC

Attachments (Terms of Use)

Description Lukáš Petrovický 2017-11-16 12:47:33 UTC
Using java-9-openjdk-, I get the following exception in my application: the trustAnchors parameter must be non-empty 
    at java.base/

Using OpenJDK 8, this doesn't happen. So I wen't looking around, and it turns out that OpenJDK has a "cacerts" symlink in jre/lib/security. This symlink points to /etc/pki/java/cacerts.

OpenJDK 9 has no such symlink there. And if I create it myself, the exception goes away.

This is a fairly serious problem, as it will likely happen with any sort of SSL communication, incl. HTTPS. And therefore essentially on any network request.

Comment 1 jiri vanek 2017-11-16 12:49:27 UTC
Thak you for report. Will be fixed asap

Comment 2 Severin Gehwolf 2017-11-18 18:23:56 UTC
*** Bug 1514736 has been marked as a duplicate of this bug. ***

Comment 3 jiri vanek 2017-11-21 14:08:18 UTC
Simple reproducer will do:
public static void main(String... args) throws IOException{
    URL u = new URL("");
    URLConnection c = u.openConnection();

I'have started to build the packages. Once the builds passed some testing, will post updates.

Comment 5 Fedora Update System 2017-11-22 13:22:08 UTC
java-9-openjdk- has been submitted as an update to Fedora 27.

Comment 6 Fedora Update System 2017-11-22 21:43:18 UTC
java-9-openjdk- has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See for
instructions on how to install test updates.
You can provide feedback for this update here:

Comment 7 Lukáš Petrovický 2017-11-28 10:50:01 UTC
Sorry, I was out for a bit. Problem seems to be fixed.

Comment 8 Fedora Update System 2017-12-04 19:03:49 UTC
java-9-openjdk- has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.