Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2013-11-10 Thread Peter Levart
On 11/11/2013 02:24 AM, Ali Ebrahimi wrote: This is another workaround: public R reflectAs(Classsuper T> expected, Lookup lookup); info.reflectAs(Member.class, lookup);//works info.reflectAs(AnnotatedElement.class, lookup);//works info.reflectAs(Member.class, lookup);//works info.reflectAs(An

Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2013-11-10 Thread Ali Ebrahimi
This is another workaround: public R reflectAs(Class expected, Lookup lookup); info.reflectAs(Member.class, lookup);//works info.reflectAs(AnnotatedElement.class, lookup);//works info.reflectAs(Member.class, lookup);//works info.reflectAs(AnnotatedElement.class, lookup);//works info.reflectAs(

Signature of MethodHandleInfo.reflectAs is not specific enough

2013-11-10 Thread Remi Forax
The is a stupid issue with the signature of MethodHandleInfo.reflectAs, j.l.r.Field, Method or Constructor implement two interfaces Member and AnnotatedElement, with the current signature, the code info.reflectAs(Member.class, lookup) works but the code info.reflectAs(AnnotatedElement.class, l

hg: jdk8/tl/jdk: 6523160: RuntimeMXBean.getUptime() returns negative values

2013-11-10 Thread jaroslav . bachorik
Changeset: 0c75cc07d264 Author:jbachorik Date: 2013-11-10 20:05 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0c75cc07d264 6523160: RuntimeMXBean.getUptime() returns negative values Summary: RuntimeMXBean.getUptime() should be based on HR timers rather than on the OS time R

RFR: All test targets, jdk/test/Makefile, fail on Windows

2013-11-10 Thread Chris Hegarty
Recent changes to jdk/test/Makefile, in TL, causes all test batches to fail on Windows. I would like to propose a temporary measure to get the tests running again. This will give us the time to come up with a better longer term solution. From what I can tell cygpath, with '-s', fails when the

Re: RFR (XXS) 8027803: NPE in test infrastructure aka: test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java fails

2013-11-10 Thread Kumar Srinivasan
Looks good. Kumar - robert.fi...@oracle.com wrote: > From: robert.fi...@oracle.com > To: core-libs-dev@openjdk.java.net > Cc: joel.fra...@oracle.com, kumar.x.sriniva...@oracle.com, > alan.bate...@oracle.com > Sent: Saturday, November 9, 2013 11:24:40 PM GMT -08:00 US/Canada Pacific >

Re: RFR (XXS) 8027803: NPE in test infrastructure aka: test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java fails

2013-11-10 Thread Joel Borggrén-Franck
Hi Robert, Looks good. cheers /Joel On 10 nov 2013, at 08:24, Robert Field wrote: > Please review the fix for: > > https://bugs.openjdk.java.net/browse/JDK-8027803 > > Basically, the ClassFileInstaller test utility is getting a Null Pointer > Exception when the installed class file is