Re: Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-22 Thread Robert Muir
Yes, sorry to be clear, DatatypeConverter base64 stuff is the same class/methods I am seeing. On Sun, May 22, 2016 at 3:36 PM, Alan Bateman wrote: > > > On 21/05/2016 13:51, Robert Muir wrote: >> >> : >> Just a little followup: It seems most code impacted by this change is >> just using jaxb's ba

Re: Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-22 Thread Alan Bateman
On 21/05/2016 13:51, Robert Muir wrote: : Just a little followup: It seems most code impacted by this change is just using jaxb's base64 class. We've seen it not just with Solr but with cloud libraries like AWS SDK and so on. I'm not really suggesting anything here but just mentioning it as a

Re: Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-21 Thread Robert Muir
On Mon, May 16, 2016 at 10:45 AM, Alan Bateman wrote: > > As to what is going on? The java.corba and the EE modules are no longer > resolved by default when compiling code in the unnamed module or where the > main class is loaded from class path. This means the types in these modules > are not vis

Re: Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-16 Thread Alan Bateman
On 16/05/2016 16:19, Uwe Schindler wrote: Thanks Alan, so this means we should better remove the references to the mentioned class from the Apache Solr code if not needed (I don't think we need the Java EE features here, it might be an oversight). I just wonder why Javac succeeded in our ca

RE: Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-16 Thread Uwe Schindler
gt; -Original Message- > From: Alan Bateman [mailto:alan.bate...@oracle.com] > Sent: Monday, May 16, 2016 4:45 PM > To: Uwe Schindler ; jigsaw-dev@openjdk.java.net > Cc: rory.odonn...@oracle.com; d...@lucene.apache.org > Subject: Re: Java 9 build 118 is hiding some documented &a

Re: Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-16 Thread Alan Bateman
On 16/05/2016 15:28, Uwe Schindler wrote: : This is not the only class that’s missing at runtime, there are more: I do not have the complete list, but our checks using the forbiddenapis Ant/Maven/Gradle plugin fails to load classes around JAXB/XML (javax.xml.bind.*, javax.jws.*) and CORBA (org

Java 9 build 118 is hiding some documented & public classes from unnamed module

2016-05-16 Thread Uwe Schindler
Hi, the Lucene team installed JDK9 build 118 today and this failed our build during some checks. The reason is that some classes are missing from the unnamed module (standard Java 8 classpath-only application). Just try this test: public class Test { public static void main(String... args) th