From abdul.kolarkunnu at oracle.com Wed Feb 1 14:17:42 2017 From: abdul.kolarkunnu at oracle.com (Muneer Kolarkunnu) Date: Wed, 1 Feb 2017 06:17:42 -0800 (PST) Subject: JDK 9 build 154 test results now available Message-ID: <4dd93ef0-dc95-4ab0-a6e2-dc5d4ef380ca@default> JDK 9 ea build 154 test results are now available at http://www.java.net/download/openjdk/testresults/9/testresults.html The jdk test results contain 9 differences from the build 153 test results. No new testcase failures found. 0: /home/jtest/merge9/153/jdk/JTwork pass: 6,130; fail: 9; not run: 2,238 1: /home/jtest/merge9/154/jdk/JTwork pass: 6,137; fail: 9; not run: 2,240 0 1 Test --- pass java/rmi/MarshalledObject/MOFilterTest.java --- pass java/rmi/registry/serialFilter/RegistryFilterTest.java --- pass java/util/logging/modules/LogManagerInModule/LogManagerInModuleTest.java --- pass sun/management/LoggingTest/LoggingWithJULTest.java --- pass sun/management/LoggingTest/LoggingWithLoggerFinderTest.java --- pass sun/security/tools/keytool/ImportPrompt.java --- pass tools/jar/multiRelease/ApiValidatorTest.java pass --- tools/jlink/CustomPluginTest.java --- pass tools/jlink/ResourceDuplicateCheckTest.java 9 difference The hotspot test results contain 0 differences from the build 153 test results. The langtools test results contain 6 differences from the build 153 test results. No new testcase failures found. 0: /home/jtest/merge9/153/langtools/JTwork pass: 3,550; not run: 299 1: /home/jtest/merge9/154/langtools/jtreg/JTwork pass: 3,556; not run: 301 0 1 Test --- pass tools/javac/annotations/neg/8171322/TypeVariableAsAnnotationTest.java --- pass tools/javac/classreader/FileSystemClosedTest.java --- pass tools/javac/modules/IncubatingTest.java --- pass tools/javac/modules/ModulesAndModuleSourcePathTest.java --- pass tools/javac/processing/model/TestVisitorDefaults.java --- pass tools/javadoc/TestScriptInComment.java 6 differences The nashorn test result is available at http://download.java.net/openjdk/testresults/9/archives/154/emailable-report.html -- Regards, Abdul Muneer Quality Engineer Oracle, Bangalore, India From sadhak001 at gmail.com Wed Feb 1 23:14:28 2017 From: sadhak001 at gmail.com (Mani Sarkar) Date: Wed, 01 Feb 2017 23:14:28 +0000 Subject: Fwd: Block and Expression Annotations In-Reply-To: References: Message-ID: Great opportunity for everyone on this list to help Ivan out. Please spread the word into other communities. Cheers, Mani ---------- Forwarded message --------- From: Ivan Paterno Date: Wed, 1 Feb 2017 at 23:05 Subject: Block and Expression Annotations To: Hi all, I'm working on a change to the compiler/reflection library to handle Annotation on two new ElementType: EXPRESSION and BLOCK. Here are some basic examples to explain what i mean: First on EXPRESSION annotation import java.lang.annotation.ElementType; import java.lang.annotation.Target; @Target(ElementType.EXPRESSION) @interface Test {} public class SimpleExpression { private int field1; private static int field2; private int field3 = 0; public SimpleExpression() { this.field1 = @Test() {1}; field2 = this.field1 + @Test() {2}; this.field3 = @Test() {this.field1 + @Test() {field2}}; } } And on BLOCK: import java.lang.annotation.ElementType; import java.lang.annotation.Target; @Target(ElementType.BLOCK) @interface Test { String someValue() default ""; } public class WhileLoop { private int a; public WhileLoop(int c) { @Test() { while (c != 0) { this.a += c; c--; } } } } There are very basic example but i have a lot of tests added to my local repository. Obviusly i need to create many others to cover the various possibilities. Anybody want to help me make these tests? If someone is interested in the paper about this features, this is the link: Walter Cazzola and Edoardo Vacchi, @Java: Annotations in Freedom, in Proceedings of 28th Annual ACM Symposium on Applied Computing (SAC'13), Coimbra, Portugal, March 2013, ACM Press Thanks, Ivan Paterno -- @theNeomatrix369 * | **Blog ** | *LJC Associate & LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project - *MutabilityDetector * | **Bitbucket * * | **Github * * | **LinkedIn * *Come to Devoxx UK 2017:* http://www.devoxx.co.uk/ *Don't chase success, rather aim for "Excellence", and success will come chasing after you!* From radhakrishnan.mohan at gmail.com Thu Feb 2 06:50:09 2017 From: radhakrishnan.mohan at gmail.com (Mohan Radhakrishnan) Date: Thu, 2 Feb 2017 12:20:09 +0530 Subject: Block and Expression Annotations In-Reply-To: References: Message-ID: I can try. Read the paper and existing tests and start on my own. Is that right ? Mohan On 2 February 2017 at 04:44, Mani Sarkar wrote: > Great opportunity for everyone on this list to help Ivan out. > > Please spread the word into other communities. > > Cheers, > Mani > > ---------- Forwarded message --------- > From: Ivan Paterno > Date: Wed, 1 Feb 2017 at 23:05 > Subject: Block and Expression Annotations > To: > > > > Hi all, > > I'm working on a change to the compiler/reflection library to handle > Annotation on two new ElementType: EXPRESSION and BLOCK. > > Here are some basic examples to explain what i mean: > > First on EXPRESSION annotation > > import java.lang.annotation.ElementType; > import java.lang.annotation.Target; > > @Target(ElementType.EXPRESSION) > @interface Test {} > > public class SimpleExpression { > > private int field1; > private static int field2; > private int field3 = 0; > > public SimpleExpression() { > this.field1 = @Test() {1}; > field2 = this.field1 + @Test() {2}; > this.field3 = @Test() {this.field1 + @Test() {field2}}; > } > > } > > And on BLOCK: > > import java.lang.annotation.ElementType; > import java.lang.annotation.Target; > > @Target(ElementType.BLOCK) > @interface Test { > > String someValue() default ""; > > } > > public class WhileLoop { > > private int a; > > public WhileLoop(int c) { > @Test() { > while (c != 0) { > this.a += c; > c--; > } > } > } > } > > > There are very basic example but i have a lot of tests added to my local > repository. Obviusly i need to create many others to cover the various > possibilities. > > Anybody want to help me make these tests? > > If someone is interested in the paper about this features, this is the > link: > > Walter Cazzola and Edoardo Vacchi, @Java: Annotations in Freedom, in > Proceedings of 28th Annual ACM Symposium on Applied Computing (SAC'13), > Coimbra, Portugal, March 2013, ACM Press > > > Thanks, > > Ivan Paterno > > -- > @theNeomatrix369 * | **Blog > ** | *LJC Associate & LJC Advocate > (@adoptopenjdk & @adoptajsr programs) > *Meet-a-Project - *MutabilityDetector > * | **Bitbucket > * * | **Github > * * | **LinkedIn > * > *Come to Devoxx UK 2017:* http://www.devoxx.co.uk/ > > *Don't chase success, rather aim for "Excellence", and success will come > chasing after you!* > From benjamin.john.evans at gmail.com Thu Feb 2 07:32:06 2017 From: benjamin.john.evans at gmail.com (Ben Evans) Date: Thu, 2 Feb 2017 07:32:06 +0000 Subject: Block and Expression Annotations In-Reply-To: References: Message-ID: Hi, Please note: a) Joe Darcy's comments on this on jdk9-dev (that this feature has already been explicitly considered and rejected by the EG that produced JSR 308) b) This is probably the worst possible time to start looking at this - we are in rampdown for JDK 9 and even if this feature was totally new and a slam-dunk in terms of desirability (neither of which is true) it would definitely not make JDK 9. Not only that, but core JDK engineers that we would need the help & support of are presumably completely focused on shipping JDK 9 & so wouldn't have any time to help us. In all honesty, I think the best thing that the community can do at this stage is to focus on bug fixes & any documentation patches (which I believe would still have a chance of making the cut for 9). Sorry to be a bit negative, but there we are! Thanks, Ben On Thu, Feb 2, 2017 at 6:50 AM, Mohan Radhakrishnan wrote: > I can try. Read the paper and existing tests and start on my own. Is that > right ? > > Mohan > > On 2 February 2017 at 04:44, Mani Sarkar wrote: > >> Great opportunity for everyone on this list to help Ivan out. >> >> Please spread the word into other communities. >> >> Cheers, >> Mani >> >> ---------- Forwarded message --------- >> From: Ivan Paterno >> Date: Wed, 1 Feb 2017 at 23:05 >> Subject: Block and Expression Annotations >> To: >> >> >> >> Hi all, >> >> I'm working on a change to the compiler/reflection library to handle >> Annotation on two new ElementType: EXPRESSION and BLOCK. >> >> Here are some basic examples to explain what i mean: >> >> First on EXPRESSION annotation >> >> import java.lang.annotation.ElementType; >> import java.lang.annotation.Target; >> >> @Target(ElementType.EXPRESSION) >> @interface Test {} >> >> public class SimpleExpression { >> >> private int field1; >> private static int field2; >> private int field3 = 0; >> >> public SimpleExpression() { >> this.field1 = @Test() {1}; >> field2 = this.field1 + @Test() {2}; >> this.field3 = @Test() {this.field1 + @Test() {field2}}; >> } >> >> } >> >> And on BLOCK: >> >> import java.lang.annotation.ElementType; >> import java.lang.annotation.Target; >> >> @Target(ElementType.BLOCK) >> @interface Test { >> >> String someValue() default ""; >> >> } >> >> public class WhileLoop { >> >> private int a; >> >> public WhileLoop(int c) { >> @Test() { >> while (c != 0) { >> this.a += c; >> c--; >> } >> } >> } >> } >> >> >> There are very basic example but i have a lot of tests added to my local >> repository. Obviusly i need to create many others to cover the various >> possibilities. >> >> Anybody want to help me make these tests? >> >> If someone is interested in the paper about this features, this is the >> link: >> >> Walter Cazzola and Edoardo Vacchi, @Java: Annotations in Freedom, in >> Proceedings of 28th Annual ACM Symposium on Applied Computing (SAC'13), >> Coimbra, Portugal, March 2013, ACM Press >> >> >> Thanks, >> >> Ivan Paterno >> >> -- >> @theNeomatrix369 * | **Blog >> ** | *LJC Associate & LJC Advocate >> (@adoptopenjdk & @adoptajsr programs) >> *Meet-a-Project - *MutabilityDetector >> * | **Bitbucket >> * * | **Github >> * * | **LinkedIn >> * >> *Come to Devoxx UK 2017:* http://www.devoxx.co.uk/ >> >> *Don't chase success, rather aim for "Excellence", and success will come >> chasing after you!* >> From rory.odonnell at oracle.com Fri Feb 3 21:17:00 2017 From: rory.odonnell at oracle.com (Rory O'Donnell) Date: Fri, 3 Feb 2017 21:17:00 +0000 Subject: JDK 9 EA Build 155 is available on java.net Message-ID: Hi All, *JDK 9 Early Access* b155 is available on java.net There have been a number of fixes to bugs reported by Open Source projects since the last availability email : * b155 - JDK-8167273 : Calendar.getDisplayNames inconsistent with DateFormatSymbols * b154 - JDK-8157611 : field visiblePackages is null for the unnamed module producing NPE when accessed * b153 - JDK-8163449 : Allow per protocol setting for URLConnection defaultUseCaches * b152 - JDK-8172158 : Annotation processor not run with -source <= 8 Dalibor and I are presenting at FOSDEM this weekend, we would love to meet you there! * JDK 9 Outreach - The Awesome Parts Rgds,Rory -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland From abdul.kolarkunnu at oracle.com Wed Feb 8 10:22:24 2017 From: abdul.kolarkunnu at oracle.com (Muneer Kolarkunnu) Date: Wed, 8 Feb 2017 02:22:24 -0800 (PST) Subject: JDK 9 build 155 test results now available Message-ID: <31a07f11-6d79-49d0-a79e-04c5da5e1e3c@default> JDK 9 ea build 155 test results are now available at http://www.java.net/download/openjdk/testresults/9/testresults.html The jdk test results contain 7 differences from the build 154 test results. No new testcase failures found. 0: /home/jtest/merge9/154/jdk/JTwork pass: 6,137; fail: 9; not run: 2,240 1: /home/jtest/merge9/155/jdk/JTwork pass: 6,144; fail: 6; not run: 2,243 0 1 Test fail pass com/sun/java/swing/plaf/gtk/4928019/bug4928019.java --- pass java/util/Calendar/Bug8167273.java fail pass java/util/concurrent/tck/JSR166TestCase.java fail pass java/util/concurrent/tck/JSR166TestCase.java#id1 --- pass java/util/spi/ResourceBundleControlProvider/UserDefaultControlTest.java --- pass sun/security/util/Resources/customSysClassLoader/BootMessages.java --- pass sun/security/util/Resources/customSysClassLoader/MessageFormatting.java 7 differences The hotspot test results contain 3 differences from the build 154 test results. No new testcase failures found. 0: /home/jtest/merge9/154/hotspot/JTwork pass: 1,419; fail: 7; error: 1; not run: 56 1: /home/jtest/merge9/155/hotspot/JTwork pass: 1,422; fail: 4; error: 1; not run: 56 0 1 Test fail pass gc/TestNUMAPageSize.java fail pass runtime/Thread/Fibonacci.java fail pass serviceability/threads/TestFalseDeadLock.java 3 differences The langtools test results contain 6 differences from the build 154 test results. No new testcase failures found. 0: /home/jtest/merge9/154/langtools/jtreg/JTwork pass: 3,556; not run: 301 1: /home/jtest/merge9/155/langtools/JTwork pass: 3,560; error: 1; not run: 303 0 1 Test --- pass tools/doclint/DuplicateParamTest.java --- pass tools/doclint/DuplicateReturnTest.java pass error tools/javac/failover/CheckAttributedTree.java --- pass tools/javac/processing/OverwriteInitialInput.java --- pass tools/javap/typeAnnotations/AnnotationDefaultNewlineTest.java --- pass tools/javap/typeAnnotations/InvisibleParameterAnnotationsTest.java 6 differences The nashorn test result is available at http://download.java.net/openjdk/testresults/9/archives/155/emailable-report.html -- Regards, Abdul Muneer Quality Engineer Oracle, Bangalore, India From abdul.kolarkunnu at oracle.com Fri Feb 10 11:44:57 2017 From: abdul.kolarkunnu at oracle.com (Muneer Kolarkunnu) Date: Fri, 10 Feb 2017 03:44:57 -0800 (PST) Subject: JDK 9 build 156 test results now available Message-ID: JDK 9 ea build 156 test results are now available at http://www.java.net/download/openjdk/testresults/9/testresults.html The jdk test results contain 13 differences from the build 155 test results. There is 1 testcase failure, this failure is under investigation. 0: /home/jtest/merge9/155/jdk/JTwork pass: 6,144; fail: 6; not run: 2,243 1: /home/jtest/merge9/156/jdk/JTwork pass: 6,150; fail: 7; error: 1; not run: 2,245 0 1 Test --- pass com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java --- pass java/net/ProxySelector/SystemProxies.java --- pass java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java --- pass java/util/concurrent/LinkedTransferQueue/WhiteBox.java --- pass javax/imageio/plugins/tiff/TIFFCreateArrayForTypeTest.java pass --- sun/management/AgentCMETest.java pass --- sun/management/AgentCheckTest.java --- fail sun/management/jdp/JdpJmxRemoteDynamicPortTest.java --- pass sun/security/pkcs12/MixedcaseAlias.java pass error sun/tools/jstatd/TestJstatdExternalRegistry.java --- pass tools/launcher/LauncherMessageTest.java --- pass tools/schemagen/MultiReleaseJarTest.java --- pass tools/wsgen/MultiReleaseJarTest.java 13 differences The hotspot test results contain 26 differences from the build 155 test results. There are 6 testcase failures, these failures are under investigation. 0: /home/jtest/merge9/155/hotspot/JTwork pass: 1,422; fail: 4; error: 1; not run: 56 1: /home/jtest/merge9/156/hotspot/JTwork pass: 1,421; fail: 6; not run: 59 0 1 Test pass --- compiler/aot/cli/jaotc/ClasspathOptionTest.java pass --- compiler/aot/fingerprint/SelfChanged.java pass --- compiler/aot/fingerprint/SelfChangedCDS.java pass --- compiler/aot/fingerprint/SuperChanged.java --- pass compiler/arraycopy/TestArrayCopyUNCBadMem.java --- pass compiler/c1/Test8172751.java pass --- compiler/c2/cr7200264/TestIntVect.java --- pass compiler/gcbarriers/TestMembarDependencies.java pass --- compiler/jvmci/compilerToVM/CanInlineMethodTest.java --- pass compiler/jvmci/compilerToVM/HasNeverInlineDirectiveTest.java --- pass compiler/jvmci/compilerToVM/IsCompilableTest.java fail --- compiler/loopopts/UseCountedLoopSafepointsTest.java pass --- gc/g1/logging/TestG1LoggingFailure.java --- pass gc/stress/TestStressG1Humongous.java fail pass gc/stress/gcbasher/TestGCBasherWithCMS.java fail pass gc/stress/gcbasher/TestGCBasherWithG1.java fail pass gc/stress/gcbasher/TestGCBasherWithSerial.java pass fail runtime/ClassFile/FormatCheckingTest.java pass fail runtime/EnclosingMethodAttr/EnclMethodAttr.java pass fail runtime/classFileParserBug/ClassFileParserBug.java pass fail runtime/duplAttributes/DuplAttributesTest.java --- pass runtime/modules/AccessCheck/AccessExportTwice.java --- pass runtime/modules/AccessCheck/AccessReadTwice.java pass fail runtime/verifier/OverriderMsg.java pass fail runtime/verifier/TestANewArray.java error pass serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java 26 differences The langtools test results contain 0 differences from the build 155 test results. The nashorn test result is available at http://download.java.net/openjdk/testresults/9/archives/156/emailable-report.html -- Regards, Abdul Muneer Quality Engineer Oracle, Bangalore, India