You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Rory O'Donnell <ro...@oracle.com> on 2016/10/22 13:51:58 UTC

Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Hi Stefan,

Early Access b02 <https://jdk8.java.net/download.html> for JDK 8u122 is 
available , summary of changes are listed here. 
<http://www.java.net/download/java/jdk8u122/changes/jdk8u122-b02.html>

Early Access b140 <https://jdk9.java.net/jigsaw/> (#5625) for JDK 9 with 
Project Jigsaw is available on java.net, summary of changes are listed 
here. 
<http://www.java.net/download/java/jigsaw/archive/140/binaries/jdk-9+140.html>

Early Access b140 <https://jdk9.java.net/download/> for JDK 9 is 
available on java.net, summary of  changes are listed here 
<http://www.java.net/download/java/jdk9/changes/jdk-9+140.html>.

A couple of items to point out with regard to b140:

 1. A fix for Cyclic interface initialization causes JVM crash is
    included in b140
 2. We are requesting feedback on a change that went into  JDK 9 b140

    The java.io.FilePermission class was changed to remove pathname
    canonicalization from its creation,
    along  with a system property to revert the behavior back to way it
    worked in the previous JDK release.
    We do this mainly for performance enhancement so that there is no
    need to consult the file system every
    time a FilePermisson is created. If you use a security manager and
    file permissions then you should read
    the details as described on the jdk9 mailing list [1]

    Feedback is requested via core-libs-dev@openjdk.java.net


The new GA date of JDK 9 has been updated on the JDK 9 Project page [2], 
further details in Mark Reinhold's email [3].


Rgds,Rory

[1] http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-October/005062.html
[2] http://openjdk.java.net/projects/jdk9/
[3] 
http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-October/005092.html

-- 

Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA, Dublin,Ireland


Re: Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Posted by Stefan Bodewig <bo...@apache.org>.
On 2016-10-27, Tomas Zezula wrote:

> Hi Stefan,
>> On 24 Oct 2016, at 17:49, Stefan Bodewig <bo...@apache.org> wrote:

>> On 2016-10-24, Tomas Zezula wrote:

>>> I suppose you are using the JDK9 Jake build (http://hg.openjdk.java.net/jigsaw/jake/) which prohibits AccessibleObject.setAccessible even on types in exported packages,

>> not sure. I downloaded jigsaw-jdk-9-ea+140_linux-x64_bin.tar.gz from the
>> last link provided by Rory. :-)
> Yes, it’s a Jigsaw build.
> The Jigsaw builds (https://jdk9.java.net/jigsaw/) contain module system features which are not yet
> merged into the jdk9 repository.
> The jdk9 early access builds (https://jdk9.java.net/download/) contain features, including module system
> features, which are already part of the jdk9.
> While it’s good to test Jigsaw builds to be prepared for the upcoming features the jdk9 early access build
> is more important.
> Hopefully helps,

Yes, it does. Many thanks Tomas.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Posted by Tomas Zezula <to...@oracle.com>.
Hi Stefan,
> On 24 Oct 2016, at 17:49, Stefan Bodewig <bo...@apache.org> wrote:
> 
> On 2016-10-24, Tomas Zezula wrote:
> 
>> I suppose you are using the JDK9 Jake build (http://hg.openjdk.java.net/jigsaw/jake/) which prohibits AccessibleObject.setAccessible even on types in exported packages,
> 
> not sure. I downloaded jigsaw-jdk-9-ea+140_linux-x64_bin.tar.gz from the
> last link provided by Rory. :-)
Yes, it’s a Jigsaw build.
The Jigsaw builds (https://jdk9.java.net/jigsaw/) contain module system features which are not yet
merged into the jdk9 repository.
The jdk9 early access builds (https://jdk9.java.net/download/) contain features, including module system
features, which are already part of the jdk9.
While it’s good to test Jigsaw builds to be prepared for the upcoming features the jdk9 early access build
is more important.
Hopefully helps,
— Tomas
> 
> Is this the version I should be testing Ant against if I only want to
> test it against one of the JDK9 builds.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Posted by Stefan Bodewig <bo...@apache.org>.
On 2016-10-24, Tomas Zezula wrote:

> I suppose you are using the JDK9 Jake build (http://hg.openjdk.java.net/jigsaw/jake/) which prohibits AccessibleObject.setAccessible even on types in exported packages,

not sure. I downloaded jigsaw-jdk-9-ea+140_linux-x64_bin.tar.gz from the
last link provided by Rory. :-)

Is this the version I should be testing Ant against if I only want to
test it against one of the JDK9 builds.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Posted by Tomas Zezula <to...@oracle.com>.
Hi Stefan,
I suppose you are using the JDK9 Jake build (http://hg.openjdk.java.net/jigsaw/jake/) which prohibits AccessibleObject.setAccessible even on types in exported packages,
the "exports private" needs to be used to allow access to non public types, see http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2016-September/000390.html.
From the stack trace it seems that the module “java.corba” is not yet fixed.
— Tomas

http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2016-September/000390.html
> On 23 Oct 2016, at 15:53, Stefan Bodewig <bo...@apache.org> wrote:
> 
> Hi Rory,
> 
> I've tried "JDK9 with Project Jigsaw b140" but to be honest I have no
> idea what difference to expect between JDK9b140 and this one.
> 
> We've got new test errors in Ant with Project Jigsaw b140 that haven't
> been present in b136 (which may have been "just JDK9"). When running
> rmic for IIOP we get
> 
> error: An error has occurred in the compiler; please file a bug report (http://bugreport.java.com/bugreport/).
> java.lang.ExceptionInInitializerError
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.Type.setRepositoryID(Type.java:999)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.CompoundType.initialize(CompoundType.java:790)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.SpecialClassType.<init>(SpecialClassType.java:160)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.SpecialClassType.forSpecial(SpecialClassType.java:95)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.CompoundType.makeType(CompoundType.java:906)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ClassType.initParents(ClassType.java:203)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ImplementationType.initialize(ImplementationType.java:162)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:98)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:155)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.Generator.generate(Generator.java:274)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.StubGenerator.generate(StubGenerator.java:101)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.Main.doCompile(Main.java:555)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.Main.compile(Main.java:173)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.Main.main(Main.java:795)
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static native boolean java.io.ObjectStreamClass.hasStaticInitializer(java.lang.Class) accessible: module java.base does not "exports private java.io" to module java.corba
> 	at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:414)
> 	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:198)
> 	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:192)
> 	at java.base/java.lang.reflect.Method.setAccessible(Method.java:186)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.hasStaticInitializer(ObjectStreamClass.java:1571)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass._computeSerialVersionUID(ObjectStreamClass.java:1148)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.access$300(ObjectStreamClass.java:78)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass$3.run(ObjectStreamClass.java:540)
> 	at java.base/java.security.AccessController.doPrivileged(Native Method)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.init(ObjectStreamClass.java:519)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:171)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.lookup(ObjectStreamClass.java:104)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.getActualSerialVersionUID(ObjectStreamClass.java:225)
> 	at java.corba@9-ea/com.sun.corba.se.impl.util.RepositoryId.<clinit>(RepositoryId.java:166)
> 	... 14 more
> 
> same for IDL.
> 
> A quick search on the bug tracker didn't show any matching bugs, but
> maybe I'm not looking in the right place. I wanted to consult with you
> before pestering core-libs-dev (which likely is the wrong place anyway).
> 
> Cheers
> 
>        Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Posted by Rory O'Donnell <ro...@oracle.com>.
Hi Stefan,

Sorry for the delay, I am traveling in China this week and being kept 
very busy.

The issue you are seeing is JDK-8164908, fixed in jdk9/dev for jdk-9+142 
or jdk-9+143.

Rgds,Rory

On 23/10/2016 21:53, Stefan Bodewig wrote:
> Hi Rory,
>
> I've tried "JDK9 with Project Jigsaw b140" but to be honest I have no
> idea what difference to expect between JDK9b140 and this one.
>
> We've got new test errors in Ant with Project Jigsaw b140 that haven't
> been present in b136 (which may have been "just JDK9"). When running
> rmic for IIOP we get
>
> error: An error has occurred in the compiler; please file a bug report (http://bugreport.java.com/bugreport/).
> java.lang.ExceptionInInitializerError
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.Type.setRepositoryID(Type.java:999)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.CompoundType.initialize(CompoundType.java:790)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.SpecialClassType.<init>(SpecialClassType.java:160)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.SpecialClassType.forSpecial(SpecialClassType.java:95)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.CompoundType.makeType(CompoundType.java:906)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ClassType.initParents(ClassType.java:203)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ImplementationType.initialize(ImplementationType.java:162)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:98)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:155)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.Generator.generate(Generator.java:274)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.StubGenerator.generate(StubGenerator.java:101)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.Main.doCompile(Main.java:555)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.Main.compile(Main.java:173)
> 	at jdk.rmic@9-ea/sun.rmi.rmic.Main.main(Main.java:795)
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static native boolean java.io.ObjectStreamClass.hasStaticInitializer(java.lang.Class) accessible: module java.base does not "exports private java.io" to module java.corba
> 	at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:414)
> 	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:198)
> 	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:192)
> 	at java.base/java.lang.reflect.Method.setAccessible(Method.java:186)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.hasStaticInitializer(ObjectStreamClass.java:1571)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass._computeSerialVersionUID(ObjectStreamClass.java:1148)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.access$300(ObjectStreamClass.java:78)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass$3.run(ObjectStreamClass.java:540)
> 	at java.base/java.security.AccessController.doPrivileged(Native Method)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.init(ObjectStreamClass.java:519)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:171)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.lookup(ObjectStreamClass.java:104)
> 	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.getActualSerialVersionUID(ObjectStreamClass.java:225)
> 	at java.corba@9-ea/com.sun.corba.se.impl.util.RepositoryId.<clinit>(RepositoryId.java:166)
> 	... 14 more
>
> same for IDL.
>
> A quick search on the bug tracker didn't show any matching bugs, but
> maybe I'm not looking in the right place. I wanted to consult with you
> before pestering core-libs-dev (which likely is the wrong place anyway).
>
> Cheers
>
>          Stefan

-- 
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA, Dublin,Ireland


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Early Access builds for JDK 8u122 b02 , JDK 9 & JDK 9 with Project Jigsaw b140 are available on java.net

Posted by Stefan Bodewig <bo...@apache.org>.
Hi Rory,

I've tried "JDK9 with Project Jigsaw b140" but to be honest I have no
idea what difference to expect between JDK9b140 and this one.

We've got new test errors in Ant with Project Jigsaw b140 that haven't
been present in b136 (which may have been "just JDK9"). When running
rmic for IIOP we get

error: An error has occurred in the compiler; please file a bug report (http://bugreport.java.com/bugreport/).
java.lang.ExceptionInInitializerError
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.Type.setRepositoryID(Type.java:999)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.CompoundType.initialize(CompoundType.java:790)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.SpecialClassType.<init>(SpecialClassType.java:160)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.SpecialClassType.forSpecial(SpecialClassType.java:95)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.CompoundType.makeType(CompoundType.java:906)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ClassType.initParents(ClassType.java:203)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ImplementationType.initialize(ImplementationType.java:162)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:98)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:155)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.Generator.generate(Generator.java:274)
	at jdk.rmic@9-ea/sun.rmi.rmic.iiop.StubGenerator.generate(StubGenerator.java:101)
	at jdk.rmic@9-ea/sun.rmi.rmic.Main.doCompile(Main.java:555)
	at jdk.rmic@9-ea/sun.rmi.rmic.Main.compile(Main.java:173)
	at jdk.rmic@9-ea/sun.rmi.rmic.Main.main(Main.java:795)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static native boolean java.io.ObjectStreamClass.hasStaticInitializer(java.lang.Class) accessible: module java.base does not "exports private java.io" to module java.corba
	at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:414)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:198)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:192)
	at java.base/java.lang.reflect.Method.setAccessible(Method.java:186)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.hasStaticInitializer(ObjectStreamClass.java:1571)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass._computeSerialVersionUID(ObjectStreamClass.java:1148)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.access$300(ObjectStreamClass.java:78)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass$3.run(ObjectStreamClass.java:540)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.init(ObjectStreamClass.java:519)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:171)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.lookup(ObjectStreamClass.java:104)
	at java.corba@9-ea/com.sun.corba.se.impl.io.ObjectStreamClass.getActualSerialVersionUID(ObjectStreamClass.java:225)
	at java.corba@9-ea/com.sun.corba.se.impl.util.RepositoryId.<clinit>(RepositoryId.java:166)
	... 14 more

same for IDL.

A quick search on the bug tracker didn't show any matching bugs, but
maybe I'm not looking in the right place. I wanted to consult with you
before pestering core-libs-dev (which likely is the wrong place anyway).

Cheers

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org