data.xml fails when used with Java 9

Description

Java 9's module system (Jigsaw) appears to prevent loading of some of the XML classes. Java 9 isn't due to be released until March 2017, so there isn't a huge rush to fix this, but I wanted to make you aware. Unfortunately, I don't have enough knowledge of the module system to suggest the proper fix/workaround.

Environment

None

Activity

Show:

Herwig HochleitnerOctober 25, 2017 at 12:37 PM

Java9 seems to have pulled back from its hard line on this, but gives only a warning now. The resolution of also gets rid of that warning.

https://github.com/clojure/data.xml/commit/ef8d0c816fa8d9c02d759de990bdb2e0042c0d2a

Alex MillerMarch 7, 2017 at 9:29 PM

This can be reproduced with the following code:

Herwig HochleitnerNovember 23, 2016 at 3:38 AM

Unless the reflector is fixed on time for a java 9 release, we'll have to work around this in data.xml by adding appropriate annotations to avoid reflection.

tcrawleyNovember 22, 2016 at 4:02 PM

Completed

Details

Assignee

Reporter

Priority

Created May 27, 2016 at 10:53 PM
Updated October 25, 2017 at 12:37 PM
Resolved October 25, 2017 at 12:37 PM