Re: Alternative mechanism for reflective access control (#ReflectiveAccessToNonExportedTypes / #AwkwardStrongEncapsulation)

2016-09-29 Thread Andrew Dinn
On 28/09/16 19:09, Alan Bateman wrote: > On 28/09/2016 13:22, Andrew Dinn wrote: >> I'd be happy to try to conduct such an experiment. Can you provide links >> to the relevant JIRAs. > The javadoc for MethodsHandes.Lookup is probably the best place to > start, assuming you haven't used it before. T

Re: Alternative mechanism for reflective access control (#ReflectiveAccessToNonExportedTypes / #AwkwardStrongEncapsulation)

2016-09-29 Thread Remi Forax
This bug only talk about the callee side, i.e. accessing to a non accessible class by a framework. The other part, the caller side, is to have a way to emit a call that send the caller lookup to a framework, the easy way to do that is to have javac to emit an invokedynamic instead of an invokein

Re: Static analyzer tool for split packages available?

2016-09-29 Thread Patrick Reinhart
Hi Mandy, On 2016-09-29 01:11, Mandy Chung wrote: On Sep 28, 2016, at 10:55 AM, Patrick Reinhart wrote: Hello there, First of all, thanks for all the hard work, you already put into the modularization of the JDK so far. Great job! I started to look into the possible pitfalls in our code i

Re: Alternative mechanism for reflective access control (#ReflectiveAccessToNonExportedTypes / #AwkwardStrongEncapsulation)

2016-09-29 Thread Peter Levart
Hi David, I'm not the one to answer your queries, but may I ask you some questions about your requirements and also give some comments... On 09/28/2016 02:13 PM, David M. Lloyd wrote: Hi all, I've been requested to ask if the OpenJDK development team have had a chance to review this email, an

Re: Alternative mechanism for reflective access control (#ReflectiveAccessToNonExportedTypes / #AwkwardStrongEncapsulation)

2016-09-29 Thread David M. Lloyd
On 09/29/2016 07:31 AM, Peter Levart wrote: Hi David, I'm not the one to answer your queries, but may I ask you some questions about your requirements and also give some comments... On 09/28/2016 02:13 PM, David M. Lloyd wrote: Hi all, I've been requested to ask if the OpenJDK development team

Re: Review Request: JDK-8166860 Add magic number to jmod file

2016-09-29 Thread Alan Bateman
On 29/09/2016 05:56, Mandy Chung wrote: Webrev: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8166860/webrev.00/index.html The change adds a magic number in jmod file to enable future revision of the JMOD format. It's currently a zip file and may change in a future release. JmodFile ope

Re: Review Request: JDK-8166860 Add magic number to jmod file

2016-09-29 Thread Mandy Chung
> On Sep 29, 2016, at 7:07 AM, Alan Bateman wrote: > > I think I agree on keep out of the ZipFile internals. As you noted, this is > just packaging and link time so it's not a magic issue if the file is opened > twice (assuming the file system isn't changing under your feet of course). > > A

delegating module access

2016-09-29 Thread Peter Levart
Hi, Building on the idea presented here (the part that talks about method ''assumeAccessOf'): http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-September/009520.html ...which tries to solve the problem that some modules have when they don't know in advance the name of the module(s) to w

Re: Static analyzer tool for split packages available?

2016-09-29 Thread Mandy Chung
> On Sep 29, 2016, at 2:44 AM, Patrick Reinhart wrote: > >>> >> JDK does not have such a tool. I do have a simple tool to list packages >> and detect split packages for analysis. I can post it somewhere if you >> want to use. > > It would be great to get access to that. Here you go: http:/

Re: Review Request: JDK-8166860 Add magic number to jmod file

2016-09-29 Thread Alan Bateman
On 29/09/2016 16:26, Mandy Chung wrote: On Sep 29, 2016, at 7:07 AM, Alan Bateman wrote: I think I agree on keep out of the ZipFile internals. As you noted, this is just packaging and link time so it's not a magic issue if the file is opened twice (assuming the file system isn't changing un

hg: jigsaw/jake/langtools: 17 new changesets

2016-09-29 Thread alan . bateman
Changeset: 535f80a0a2fd Author:sadayapalam Date: 2016-09-20 05:28 +0530 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/535f80a0a2fd 8166108: VerifyError passing anonymous inner class to supertype constructor Summary: Anonymous classes instantitated in explicit constructor

hg: jigsaw/jake/corba: 2 new changesets

2016-09-29 Thread alan . bateman
Changeset: 9e101c5c6fe0 Author:lana Date: 2016-09-29 16:45 + URL: http://hg.openjdk.java.net/jigsaw/jake/corba/rev/9e101c5c6fe0 Added tag jdk-9+138 for changeset 27bb44be3207 ! .hgtags Changeset: f6e5ae20b513 Author:alanb Date: 2016-09-29 18:45 +0100 URL: http:/

hg: jigsaw/jake/jaxws: 2 new changesets

2016-09-29 Thread alan . bateman
Changeset: 7a7aadf3c450 Author:lana Date: 2016-09-29 16:45 + URL: http://hg.openjdk.java.net/jigsaw/jake/jaxws/rev/7a7aadf3c450 Added tag jdk-9+138 for changeset 7d3a8f52b124 ! .hgtags Changeset: 2d50262f3070 Author:alanb Date: 2016-09-29 18:45 +0100 URL: http:/

hg: jigsaw/jake/nashorn: 7 new changesets

2016-09-29 Thread alan . bateman
Changeset: f257b37827e2 Author:sdama Date: 2016-09-20 11:33 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/nashorn/rev/f257b37827e2 8166296: add documentation for Date,RegExp,Error,JSON objects Reviewed-by: mhaupt, sundar ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/in

hg: jigsaw/jake/hotspot: 53 new changesets

2016-09-29 Thread alan . bateman
Changeset: ea5907c25ff6 Author:alanbur Date: 2016-09-21 14:23 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/ea5907c25ff6 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged Reviewed-by: erikj ! test/jprt.config Changeset: fbb49

hg: jigsaw/jake/jaxp: 5 new changesets

2016-09-29 Thread alan . bateman
Changeset: 06299cf67046 Author:joehw Date: 2016-09-22 10:17 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/jaxp/rev/06299cf67046 8166398: CatalogSupport tests need to be fixed Reviewed-by: dfuchs ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLEntityMana

hg: jigsaw/jake: 13 new changesets

2016-09-29 Thread alan . bateman
Changeset: 3803b441db32 Author:iignatyev Date: 2016-09-20 16:56 +0300 URL: http://hg.openjdk.java.net/jigsaw/jake/rev/3803b441db32 8166262: failurehandler should not use jtreg internal API Reviewed-by: sla, dsamersoff ! test/failure_handler/src/share/classes/jdk/test/failurehandle

hg: jigsaw/jake/jdk: 45 new changesets

2016-09-29 Thread alan . bateman
Changeset: 4d186e8bbe9a Author:jjiang Date: 2016-09-20 10:32 +0800 URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/4d186e8bbe9a 8165566: sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently: Address already in use Summary: It takes every server to be allocat