From abraham.marin.perez at gmail.com Fri Jun 7 13:21:34 2019 From: abraham.marin.perez at gmail.com (Abraham Marin-Perez) Date: Fri, 7 Jun 2019 14:21:34 +0100 Subject: Suggestion for a more sensible implementation of EMPTY_MAP Message-ID: Hi everyone, Cross posting from core-libs-dev as suggested. I'm a first timer here, I just joined the group as suggested by Martijn Verburg to make a suggestion for a slight change in the implementation of Collections.EMPTY_MAP. If I understand correctly, this class represents an immutable empty map. As a result, operations like put or remove have been implemented to throw UnsupportedOperationException; this makes sense to me. However, this is also the implementation for computeIfPresent, which I believe may be too disruptive: the definition of this method says ?If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.?; for an empty map, this could be a safe no-op, instead of an exception. I was wondering if this is something that would make sense to there people too (feedback appreciated). If so, I'm happy to provide a patch for the change (we just need to leave an empty body for the method). Please let me know what you think, Cheers, Abraham From abdul.kolarkunnu at oracle.com Tue Jun 11 15:34:45 2019 From: abdul.kolarkunnu at oracle.com (abdul.kolarkunnu at oracle.com) Date: Tue, 11 Jun 2019 21:04:45 +0530 Subject: OpenJDK 13 build 24 test results now available In-Reply-To: References: Message-ID: <97bfd791-68a6-1d85-fd5c-664ce3dd2268@oracle.com> * * *OpenJDK 1**3 ea build **24 test results are now available at * https://download.java.net/openjdk/testresults/13/testresults.html The jdk test results contain 10 differences from the build 23 test results. No new testcase failures found. 0: /scratch/export/home/aginfra/muneer/jtest/merge13/23/jdk/JTwork pass: 7,402; error: 2; not run: 2,462 1: /scratch/export/home/aginfra/muneer/jtest/merge13/24/jdk/JTwork pass: 7,406; error: 2; not run: 2,467 0 1 Test --- pass java/net/JarURLConnection/TestDefaultBehavior.java --- pass java/net/ServerSocket/TestLocalAddress.java --- pass java/net/SocketImpl/BadUsages.java --- pass java/net/SocketImpl/CompareSocketOptions.java --- pass java/net/URLStreamHandler/TestDefaultBehavior.java pass --- javax/accessibility/8197785/AccessibilityBundleMemoryLeakTest.java --- pass javax/accessibility/AccessibleBundle/Basic.java pass --- javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java pass --- jdk/jfr/event/io/EvilInstrument.java --- pass tools/launcher/modules/basic/LauncherErrors.java 10 differences The hotspot test results contain 9 differencesfrom the build 23 test results. No new testcase failures found. 0: /scratch/export/home/aginfra/muneer/jtest/merge13/23/hotspot/JTwork pass: 5,643; error: 1; not run: 326 1: /scratch/export/home/aginfra/muneer/jtest/merge13/24/hotspot/JTwork pass: 5,646; not run: 335 0 1 Test pass --- compiler/c2/cr6340864/TestLongVect.java pass --- compiler/codegen/TestCharVect2.java --- pass compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java --- pass compiler/loopopts/LoopUnswitchingBadNodeBudget.java --- pass compiler/whitebox/OSRFailureLevel4Test.java pass --- gc/stress/TestReclaimStringsLeaksMemory.java --- pass runtime/clinit/ClassInitBarrier.java --- pass serviceability/dcmd/vm/EventsTest.java error pass vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java 9 differences The langtools test results contain 1 differencefrom the build 23 test results. No new testcase failures found. 0: /scratch/export/home/aginfra/muneer/jtest/merge13/23/langtools/JTwork pass: 3,590; not run: 381 1: /scratch/export/home/aginfra/muneer/jtest/merge13/24/langtools/JTwork pass: 3,591; not run: 384 0 1 Test --- pass tools/javac/processing/model/element/TestElementAsType.java 1 differences -- Regards, Abdul Muneer QualityOutreach Oracle, Bangalore, India From abdul.kolarkunnu at oracle.com Mon Jun 17 05:12:24 2019 From: abdul.kolarkunnu at oracle.com (abdul.kolarkunnu at oracle.com) Date: Mon, 17 Jun 2019 10:42:24 +0530 Subject: JDK 13 enters Rampdown Phase One In-Reply-To: <37139850-c5cb-bb08-2ca5-ba651ec8f979@oracle.com> References: <37139850-c5cb-bb08-2ca5-ba651ec8f979@oracle.com> Message-ID: Hi All, *JDK 13 Early Access build **25 is now available **at : - jdk.java.net/13/* * Per the JDK 13 schedule [1], we are now in Rampdown Phase One. o For more details , see Mark Reinhold's email to jdk-dev mailing list [2] o The overall feature set is frozen, no further JEPs will be targeted to this release. * Changes in this build 25 [4] *Request for feedback on JEP 353 integrated in b24 * JEP 353: Reimplement the Legacy Socket API" has been integrated into jdk-13+24. It would be very useful if applications or libraries using java.net.Socket or java.net.ServerSocket APIs could test with this build and report any issues found. The JEP provides information on the system property that can be used to switch back to the old implementation and that may be useful to check for behavior differences between the old and new implementation. It would be very useful to get feedback via the OpenJDK net-dev mailing list, bugs via the usual channel. *Updates to Release Notes since last email* * b25 - Support Kerberos cross-realm referrals (RFC 6806)(JDK-8215032 ) * b25 - Add -XX:SoftMaxHeapSize flag(JDK-8222145 ) * b24 - Reimplement the Legacy Socket API(JDK-8221481 ) o see above request for feedback * b24? - Deprecated rmic tool For Removal(JDK-8217412 ) * b24 - New String constants for Canonical XML 1.1 URIs(JDK-8224767 ) * b23 - Support for Unicode 12.1 (JDK-8221431 ) * b21 - Upgrade CLDR to Version 35.1 (JDK-8221432 ) *OpenJDK 14 **Early Access build 1 **is now available **at : - jdk.java.net/14/* * These early-access, open-source builds are provided under the GNU General Public License, version?2, with the Classpath Exception . * Changes in this build [5] ** [1] http://openjdk.java.net/projects/jdk/13/#Schedule [2] https://mail.openjdk.java.net/pipermail/jdk-dev/2019-June/003060.html [3] http://jdk.java.net/13/release-notes [4] JDK 13 - Changes in b25 here [5] JDK 14 - Changes in b1 here -- Regards, Abdul Muneer QualityOutreach Oracle, Bangalore, India From abdul.kolarkunnu at oracle.com Tue Jun 25 10:09:17 2019 From: abdul.kolarkunnu at oracle.com (abdul.kolarkunnu at oracle.com) Date: Tue, 25 Jun 2019 15:39:17 +0530 Subject: OpenJDK 13 build 26 and OpenJDK 14 build 2 test results now available In-Reply-To: <25d68b73-e81d-fd22-9fef-9536fb4d50de@oracle.com> References: <25d68b73-e81d-fd22-9fef-9536fb4d50de@oracle.com> Message-ID: *OpenJDK 1**3 ea build **26 test results are now available at * https://download.java.net/openjdk/testresults/13/testresults.html The jdk test results contain 35 differences from the build 24 test results. There are 3 testcase failures, these failures are under investigation, JBS issue already exists for these failures. 0: /scratch/export/home/aginfra/muneer/jtest/merge13/24/jdk/JTwork pass: 7,406; error: 2; not run: 2,467 1: /scratch/export/home/aginfra/muneer/jtest/merge13/26/jdk/JTwork pass: 7,431; fail: 3; error: 1; not run: 2,471 0 1 Test pass fail com/sun/java/swing/plaf/gtk/4928019/bug4928019.java pass fail com/sun/java/swing/plaf/gtk/Test6635110.java pass fail com/sun/java/swing/plaf/gtk/Test6963870.java --- pass java/lang/String/Formatted.java --- pass java/lang/String/StripIndent.java --- pass java/lang/String/TranslateEscapes.java --- pass java/lang/instrument/RedefineInterfaceMethods/RedefineInterfaceMethods.java --- pass java/lang/instrument/RedefineMathTesterMethods/RedefineMathTesterMethods.java --- pass java/net/Inet6Address/Scoping.java --- pass java/net/MulticastSocket/PromiscuousIPv6.java --- pass java/nio/channels/DatagramChannel/PromiscuousIPv6.java --- pass java/util/BitSet/HugeToString.java --- pass javax/sound/sampled/spi/AudioFileReader/RecognizeAuFloat.java --- pass jdk/jfr/jcmd/TestJcmdDumpWithFileName.java --- pass jdk/jfr/startupargs/TestStartNoSettings.java --- pass sun/security/krb5/auto/ReferralsTest.java --- pass sun/security/pkcs11/Cipher/Test4512704.java --- pass sun/security/pkcs11/Cipher/TestCICOWithGCM.java --- pass sun/security/pkcs11/Cipher/TestCICOWithGCMAndAAD.java --- pass sun/security/pkcs11/Cipher/TestGCMKeyAndIvCheck.java --- pass sun/security/pkcs11/Cipher/TestKATForGCM.java --- pass sun/security/pkcs11/Signature/InitAgainPSS.java --- pass sun/security/pkcs11/Signature/KeyAndParamCheckForPSS.java --- pass sun/security/pkcs11/Signature/SigInteropPSS.java --- pass sun/security/pkcs11/Signature/SignatureTestPSS.java --- pass sun/security/pkcs11/Signature/TestDSA2.java pass --- sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java pass --- sun/security/pkcs11/tls/tls12/FipsModeTLS12.java --- pass sun/security/ssl/CipherSuite/SupportedGroups.java --- pass sun/security/ssl/SSLSessionImpl/ResumeChecksClientStateless.java --- pass sun/security/ssl/SSLSessionImpl/ResumeChecksServerStateless.java --- pass sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java --- pass sun/security/tools/jarsigner/JavaKeyStoreAliasCaseInsensitive.java --- pass sun/security/tools/keytool/ListOrder.java error pass sun/tools/jstatd/TestJstatdExternalRegistry.java 35 differences The hotspot test results contain 13 differences from the build 24 test results. No new testcase failures found. 0: /scratch/export/home/aginfra/muneer/jtest/merge13/24/hotspot/JTwork pass: 5,646; not run: 335 1: /scratch/export/home/aginfra/muneer/jtest/merge13/26/hotspot/JTwork pass: 5,653; not run: 333 0 1 Test --- pass compiler/c2/cr6340864/TestLongVect.java --- pass compiler/codegen/TestCharVect2.java pass --- compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java pass --- compiler/jsr292/NonInlinedCall/GCTest.java --- pass compiler/profiling/TestProfileCounterOverflow.java --- pass compiler/unsafe/TestUnsafeLoadWithZeroAddress.java --- pass gc/arguments/TestSoftMaxHeapSizeFlag.java --- pass gc/stress/TestReclaimStringsLeaksMemory.java pass --- runtime/SharedArchiveFile/TestInterpreterMethodEntries.java --- pass runtime/SharedArchiveFile/TestInterpreterMethodEntries.java#id0 --- pass runtime/SharedArchiveFile/TestInterpreterMethodEntries.java#id1 --- pass runtime/classFileParserBug/TestEmptyUnqName.java --- pass serviceability/dcmd/compiler/CodeHeapAnalyticsParams.java 13 differences The langtools test results contain 11 differences from the build 24 test results. No new testcase failures found. 0: /scratch/export/home/aginfra/muneer/jtest/merge13/24/langtools/JTwork pass: 3,591; not run: 384 1: /scratch/export/home/aginfra/muneer/jtest/merge13/26/langtools/JTwork pass: 3,602; not run: 385 0 1 Test --- pass tools/javac/T8223942/ClientCodeWrappersShouldOverrideAllMethodsTest.java --- pass tools/javac/TextBlockAPI.java --- pass tools/javac/TextBlockLang.java --- pass tools/javac/switchexpr/ExpressionSwitchToString.java --- pass tools/javac/switchexpr/TryCatchFinally.java --- pass tools/javac/switchexpr/WarnWrongYieldTest.java --- pass tools/javac/switchexpr/WrongBreakTest.java --- pass tools/javac/switchexpr/WrongYieldTest.java --- pass tools/javac/switchextra/DefiniteAssignment1.java --- pass tools/javac/switchextra/DefiniteAssignment2.java --- pass tools/javap/default_methods/JavapNotPrintingDefaultModifierTest.java 11 differences ** ** *OpenJDK 1**4 ea build **2 test results are now available at * https://download.java.net/openjdk/testresults/14/testresults.html -- Regards, Abdul Muneer QualityOutreach Oracle, Bangalore, India