hg: jigsaw/jake/corba: Remove core reflection usage in CORBA utility class

2015-11-15 Thread alan . bateman
Changeset: 54d9b908806a Author:alanb Date: 2015-11-15 14:48 + URL: http://hg.openjdk.java.net/jigsaw/jake/corba/rev/54d9b908806a Remove core reflection usage in CORBA utility class ! src/java.corba/share/classes/com/sun/corba/se/impl/util/Modules.java

Re: Locating a class file from a class loader by name

2015-11-15 Thread Rafael Winterhalter
Hi Alan, thank you for your feedback. I agree that the current way of implementing a class file lookup is not a fail-safe solution but it works for almost all real use-cases and has therefore become a standard approach used by a lot of code. I wanted to make sure that you are aware of the

A way to opt out of access restrictions on non-exported members.

2015-11-15 Thread Reinier Zwitserloot
TL;DR: There are rather a lot of libraries out there that access private members via reflection. I posit that almost all such libraries break without an easy way to fix the problem, if there is no way to use reflection to access non-exported members. setAccessible(true) doesn't let you opt out

Re: Locating a class file from a class loader by name

2015-11-15 Thread Alan Bateman
On 15/11/2015 09:51, Rafael Winterhalter wrote: Hi Alan, thank you for your feedback. I agree that the current way of implementing a class file lookup is not a fail-safe solution but it works for almost all real use-cases and has therefore become a standard approach used by a lot of code. I

Re: jrt file system now has /package and /modules directories

2015-11-15 Thread Michael Hall
Would it still be the case that the exploded build in the jdk directory is invalid to use? I am having some difficulties on this again. As long as I had done this once I thought it would make sense to be most up to date by just continuing to build from source. So I redid the command to get new

Re: jrt file system now has /package and /modules directories

2015-11-15 Thread Claes Redestad
Hi, maybe a long shot, but could you replace the "make" with "make images" and try again? /Claes On 2015-11-15 18:04, Michael Hall wrote: make clean make sudo make install

Re: Proposal to enhance jdeps tool to search split packages/add some kind of general API

2015-11-15 Thread Jonathan Gibbons
On 11/12/2015 06:49 PM, Mandy Chung wrote: On Nov 12, 2015, at 2:39 AM, Patrick Reinhart wrote: Hi there, I like to do some early adoption tests with software using the new module system. Now we got an unknown amount of split packages in our system, the we will need to

Re: jrt file system now has /package and /modules directories

2015-11-15 Thread Alan Bateman
On 16/11/2015 00:44, Michael Hall wrote: Not a bad long shot. Seemed to work fine. Creating jre jimage Creating jdk jimage duplicate resource "META-INF/services/com.sun.jdi.connect.Connector", skipping Access verification succeeded. ## Finished verify-modules (build time 00:03:40) Finished

Re: A way to opt out of access restrictions on non-exported members.

2015-11-15 Thread Remi Forax
There are several ways to opt-out if you control the command line, - put all your modules in the classpath or remove all the module-info from the modules in the module-path, - create a jlink plugin that will crawle all modules (or the ones you want) and change the module-info, - at runtime to