build error on windows

2015-11-16 Thread Ali Ebrahimi
Hi, . . Creating jsoundds.dll from 4 file(s) f:/openjdk/jake/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler. c(106) : error C2220: warning treated as error - no 'object' file generated f:/openjdk/jake/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler. c(106) :

Re: build error on windows

2015-11-16 Thread Ali Ebrahimi
Thanks. On Mon, Nov 16, 2015 at 8:04 PM, Philip Race wrote: > This is a known issue and the fix should go into jdk9/dev in about 24 > hours. > --disable-warnings-as-errors will work around it. > > -phil. > > > On 11/16/15, 8:25 AM, Ali Ebrahimi wrote: > >> Hi, >> >> . >>

JDeps: detecting offending packages

2015-11-16 Thread Robert Scholte
Hi, for the maven-jdeps-plugin I use the following code to detect offending packages: --- import java.io.IOException; import org.codehaus.plexus.util.StringUtils; public class Base64Codec { @SuppressWarnings( "restriction" ) public static byte[] Base64decode( String input ) throws

Re: RFR: 8139430

2015-11-16 Thread Alan Bateman
On 16/11/2015 13:01, Alexandre (Shura) Iline wrote: V6: http://cr.openjdk.java.net/~shurailine/8139430/webrev.06/ This looks okay to me. For completeness then I assume the THreadMXBeanTool.waitUntilXXX methods should re-assert the interrupt status if interrupted when waiting. -Alan

Re: RFR: 8139430

2015-11-16 Thread Jaroslav Bachorik
On 16.11.2015 14:01, Alexandre (Shura) Iline wrote: V6: http://cr.openjdk.java.net/~shurailine/8139430/webrev.06/ Looks good! Thanks, -JB- Thank you. Shura On Nov 11, 2015, at 7:41 PM, Alexandre (Shura) Iline wrote: On Nov 10, 2015, at 11:42 PM, Alan

Re: Annotations across modules

2015-11-16 Thread Philippe Marschall
On 12.11.15 14:50, Stephen Colebourne wrote: My understanding of annotations today is that annotations are not required at runtime. ie. if an annotation is placed into a class at compile time but the .class file for the annotation is not available on the runtime classpath. then there is no

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

2015-11-16 Thread Patrick Reinhart
> Am 13.11.2015 um 19:43 schrieb Mandy Chung : > >> On Nov 13, 2015, at 1:03 AM, Patrick Reinhart wrote: >> but they don’t have any overlapped class. Ah, I was thinking it that direction, but I was not absolutely sure. Thanks for clarification.

hg: jigsaw/jake/langtools: fix whitespace and merge error in ProblemList.jake.txt

2015-11-16 Thread jonathan . gibbons
Changeset: 2e97a1c3478f Author:jjg Date: 2015-11-13 16:28 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/2e97a1c3478f fix whitespace and merge error in ProblemList.jake.txt ! test/ProblemList.jake.txt

hg: jigsaw/jake/jdk: Remove dependency on sun.boot.class.path from more tests

2015-11-16 Thread alan . bateman
Changeset: 1d9005d2200d Author:alanb Date: 2015-11-16 10:52 + URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/1d9005d2200d Remove dependency on sun.boot.class.path from more tests ! test/java/lang/instrument/BootClassPath/Agent.java !

Re: RFR: 8139430

2015-11-16 Thread Alexandre (Shura) Iline
V6: http://cr.openjdk.java.net/~shurailine/8139430/webrev.06/ Thank you. Shura > On Nov 11, 2015, at 7:41 PM, Alexandre (Shura) Iline > wrote: > > >> On Nov 10, 2015, at 11:42 PM, Alan Bateman wrote: >> >> >> >> On 09/11/2015 19:12,

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

2015-11-16 Thread Neil Bartlett
Alan, In your consideration does the following declaration break encapsulation of a module, assuming that package “org.example.impl” is not exported? module foo { provides org.example.api.ServiceInterface with org.example.impl.ServiceImpl; } This appears to

hg: jigsaw/jake/langtools: 39 new changesets

2015-11-16 Thread mandy . chung
Changeset: 288f18dd9157 Author:lana Date: 2015-10-19 00:25 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/288f18dd9157 Added tag jdk9-b87 for changeset 45f796d8cdcd ! .hgtags Changeset: 79e637c1e083 Author:mcimadamore Date: 2015-10-12 12:24 +0100 URL:

hg: jigsaw/jake/hotspot: 226 new changesets

2015-11-16 Thread mandy . chung
Changeset: bc48b669bc66 Author:lana Date: 2015-10-19 00:24 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/bc48b669bc66 Added tag jdk9-b87 for changeset d7ffd16382fe ! .hgtags Changeset: b0e0a53226fd Author:lana Date: 2015-10-22 08:47 -0700 URL:

hg: jigsaw/jake/jaxp: 18 new changesets

2015-11-16 Thread mandy . chung
Changeset: 4700fd67e942 Author:lana Date: 2015-10-19 00:25 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/jaxp/rev/4700fd67e942 Added tag jdk9-b87 for changeset eb435c878c2c ! .hgtags Changeset: 27b625ce80f4 Author:lana Date: 2015-10-22 08:47 -0700 URL:

hg: jigsaw/jake/hotspot: Set property sun.boot.class.path to NULL, and include Jiangli's build fix and other build fix.

2015-11-16 Thread harold . seigel
Changeset: d83120ae736e Author:hseigel Date: 2015-11-16 15:35 -0500 URL: http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/d83120ae736e Set property sun.boot.class.path to NULL, and include Jiangli's build fix and other build fix. !

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

2015-11-16 Thread Remi Forax
- Mail original - > De: "Stephen Colebourne" > À: "jigsaw-dev" > Envoyé: Lundi 16 Novembre 2015 13:28:22 > Objet: Re: A way to opt out of access restrictions on non-exported members. > [...] > Stephen > PS. I'm reminded of Java's

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

2015-11-16 Thread Alan Bateman
On 16/11/2015 19:41, Neil Bartlett wrote: Thanks Alan, So you’re saying that ServiceLoader is permitted to have “super powers” to punch through encapsulation, but other libraries are not. This is disappointing — ServiceLoader is extremely limited in functionality, and is no match for any of

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

2015-11-16 Thread Alan Bateman
On 16/11/2015 17:48, Neil Bartlett wrote: Alan, In your consideration does the following declaration break encapsulation of a module, assuming that package “org.example.impl” is not exported? module foo { provides org.example.api.ServiceInterface with

Re: Annotations across modules

2015-11-16 Thread Stephen Colebourne
On 16 November 2015 at 22:04, Alex Buckley wrote: > This is all true -- a static reference to java.beans.ConstructorProperties > necessitates a dependency on java.desktop at compile time. > > The reason for my stripped-down answer was that Stephen phrased the question >

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

2015-11-16 Thread Michael Hall
> On Nov 16, 2015, at 3:42 AM, Michael Hall wrote: > > Now I’ll probably have to reinstall 8 over the top to get it back to default. Going OT again, but if of interest, this didn’t work. I installed the 8 release from the web page. It did download the OS X dmg and seemed

hg: jigsaw/jake/jdk: 3 new changesets

2015-11-16 Thread mandy . chung
Changeset: 5babde7bd078 Author:jjg Date: 2015-11-13 15:55 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/5babde7bd078 8142996: move jdk java/util/streams tests into java.base directories Reviewed-by: mchung ! test/java/util/stream/bootlib/TEST.properties +

Re: Annotations across modules

2015-11-16 Thread Alex Buckley
On 11/16/2015 3:19 AM, Philippe Marschall wrote: On 12.11.15 14:50, Stephen Colebourne wrote: My understanding of annotations today is that annotations are not required at runtime. ie. if an annotation is placed into a class at compile time but the .class file for the annotation is not

hg: jigsaw/jake/hotspot: Add uses/provides for jdk.vm.ci module

2015-11-16 Thread mandy . chung
Changeset: 40952d9e4128 Author:mchung Date: 2015-11-16 22:11 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/40952d9e4128 Add uses/provides for jdk.vm.ci module ! src/jdk.vm.ci/share/classes/module-info.java

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

2015-11-16 Thread Erik Joelsson
The "install" target should most definitely depend on "images". I see that it currently doesn't, which is certainly a bug. The workaround is to do "make images && make install". Filing a bug. /Erik On 2015-11-16 08:42, Alan Bateman wrote: On 16/11/2015 00:44, Michael Hall wrote: Not a