hg: jdk8/tl/jdk: 8023147: Test DisabledShortRSAKeys.java intermittent failed

2013-11-13 Thread xuelei . fan
Changeset: 1158d504e39e
Author:xuelei
Date:  2013-11-13 01:14 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1158d504e39e

8023147: Test DisabledShortRSAKeys.java intermittent failed
Reviewed-by: mullan

! test/sun/security/ssl/javax/net/ssl/TLSv12/DisabledShortRSAKeys.java



hg: jdk8/tl/jdk: 8026952: Test java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java has wrong @bug id

2013-11-13 Thread daniel . fuchs
Changeset: 30a3aefc4084
Author:dfuchs
Date:  2013-11-13 10:50 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/30a3aefc4084

8026952: Test 
java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java has 
wrong @bug id
Summary: Trivial: change @bug 8023163 into @bug 8026499
Reviewed-by: mchung, alanb

! test/java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java



hg: jdk8/tl/jdk: 6959636: testcase failing on windows javax/management/loading/LibraryLoader/LibraryLoaderTest.java

2013-11-13 Thread erik . gahlin
Changeset: ddaa9a8acaed
Author:egahlin
Date:  2013-11-13 15:21 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ddaa9a8acaed

6959636: testcase failing on windows 
javax/management/loading/LibraryLoader/LibraryLoaderTest.java
Reviewed-by: sla, jbachorik

! test/ProblemList.txt
! test/javax/management/loading/LibraryLoader/LibraryLoaderTest.java



hg: jdk8/tl/jdk: 8015497: Take new fixes from hotspot/test/testlibrary to jdk/test/lib/testlibrary

2013-11-13 Thread staffan . larsen
Changeset: a42a416351b8
Author:ykantser
Date:  2013-11-13 11:46 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a42a416351b8

8015497: Take new fixes from hotspot/test/testlibrary to 
jdk/test/lib/testlibrary
Reviewed-by: sla

+ test/lib/testlibrary/AssertsTest.java
+ test/lib/testlibrary/OutputAnalyzerReportingTest.java
+ test/lib/testlibrary/jdk/testlibrary/InputArguments.java
! test/lib/testlibrary/jdk/testlibrary/JcmdBase.java
- test/lib/testlibrary/jdk/testlibrary/JdkFinder.java
! test/lib/testlibrary/jdk/testlibrary/OutputAnalyzer.java
! test/lib/testlibrary/jdk/testlibrary/ProcessTools.java
! test/sun/management/jmxremote/bootstrap/CustomLauncherTest.java



hg: jdk8/tl/jdk: 8028234: Remove unused methods in sun.misc.JavaAWTAccess

2013-11-13 Thread mandy . chung
Changeset: 7c55fecfae65
Author:mchung
Date:  2013-11-13 07:49 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7c55fecfae65

8028234: Remove unused methods in sun.misc.JavaAWTAccess
Reviewed-by: art, dfuchs, lancea

! src/share/classes/sun/awt/AppContext.java
! src/share/classes/sun/misc/JavaAWTAccess.java
! test/java/util/logging/TestAppletLoggerContext.java



hg: jdk8/tl/jdk: 8022213: Intermittent test failures in java/net/URLClassLoader

2013-11-13 Thread chris . hegarty
Changeset: 70f1bed5e7fd
Author:chegar
Date:  2013-11-13 16:44 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/70f1bed5e7fd

8022213: Intermittent test failures in java/net/URLClassLoader
Reviewed-by: dxu, alanb

! test/java/net/URLClassLoader/closetest/CloseTest.java
! test/java/net/URLClassLoader/closetest/Common.java
! test/java/net/URLClassLoader/closetest/GetResourceAsStream.java
+ test/lib/testlibrary/jdk/testlibrary/FileUtils.java



hg: jdk8/tl/jdk: 8028270: Files.readSymbolicLink calls AccessController directly so security manager can't grant the permission

2013-11-13 Thread alan . bateman
Changeset: a493871959c2
Author:alanb
Date:  2013-11-13 16:52 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a493871959c2

8028270: Files.readSymbolicLink calls AccessController directly so security 
manager can't grant the permission
Reviewed-by: mchung, martin, chegar

! src/solaris/classes/sun/nio/fs/UnixFileSystemProvider.java
! src/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java
! test/java/nio/file/Files/CheckPermissions.java



hg: jdk8/tl/jdk: 6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh

2013-11-13 Thread erik . gahlin
Changeset: 256b3395346b
Author:egahlin
Date:  2013-11-13 18:41 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/256b3395346b

6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh
Reviewed-by: sla, sspitsyn

! test/com/sun/jdi/BreakpointWithFullGC.sh



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

2013-11-13 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
Reviewed-by: dholmes, sla

! make/java/management/mapfile-vers
! makefiles/mapfiles/libmanagement/mapfile-vers
! src/share/classes/sun/management/RuntimeImpl.java
! src/share/classes/sun/management/VMManagement.java
! src/share/classes/sun/management/VMManagementImpl.java
! src/share/javavm/export/jmm.h
! src/share/native/sun/management/VMManagementImpl.c
! test/java/lang/management/RuntimeMXBean/UpTime.java



hg: jdk8/tl/jdk: 8004126: TEST_BUG: com/sun/jdi/BadHandshakeTest.java fails intermittently

2013-11-13 Thread jaroslav . bachorik
Changeset: 680ef14a2cc0
Author:jbachorik
Date:  2013-11-13 13:12 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/680ef14a2cc0

8004126: TEST_BUG: com/sun/jdi/BadHandshakeTest.java fails intermittently
Reviewed-by: dholmes, ykantser

! test/com/sun/jdi/BadHandshakeTest.java



hg: jdk8/tl/jdk: 8028300: Fix raw type lint warnings in java.util.concurrent

2013-11-13 Thread joe . darcy
Changeset: e6333788b117
Author:darcy
Date:  2013-11-13 11:06 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e6333788b117

8028300: Fix raw type lint warnings in java.util.concurrent
Reviewed-by: chegar, martin

! src/share/classes/java/util/concurrent/ForkJoinPool.java
! src/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java



hg: jdk8/tl/jdk: 8027645: Pattern.split() with positive lookahead; ...

2013-11-13 Thread xueming . shen
Changeset: 9e37caf07ce0
Author:sherman
Date:  2013-11-13 11:26 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9e37caf07ce0

8027645: Pattern.split() with positive lookahead
6559590: Pattern.compile(.*).split() returns incorrect result
Summary: updated spec/impl for these two corner cases
Reviewed-by: alanb, psandoz

! src/share/classes/java/lang/String.java
! src/share/classes/java/util/regex/Pattern.java
! test/java/lang/String/Split.java
! test/java/util/regex/RegExTest.java



hg: jdk8/tl/hotspot: 18 new changesets

2013-11-13 Thread lana . steuck
Changeset: 5b84039ca739
Author:amurillo
Date:  2013-11-01 08:35 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/5b84039ca739

8027580: new hotspot build - hs25-b58
Reviewed-by: jcoomes

! make/hotspot_version

Changeset: ea79ab313e98
Author:mgerdin
Date:  2013-10-30 15:35 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ea79ab313e98

8027252: Crash in interpreter because get_unsigned_2_byte_index_at_bcp reads 4 
bytes
Summary: Use 2-byte loads to load indexes from the byte code stream to avoid 
out of bounds reads.
Reviewed-by: coleenp, sspitsyn

! src/cpu/x86/vm/interp_masm_x86_32.cpp
! src/cpu/x86/vm/interp_masm_x86_64.cpp
! src/cpu/x86/vm/templateTable_x86_32.cpp
! src/cpu/x86/vm/templateTable_x86_64.cpp

Changeset: fdd464c8d62e
Author:acorn
Date:  2013-10-30 09:11 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/fdd464c8d62e

8027304: Lambda: inheriting abstract + 1 default - default, not ICCE
Reviewed-by: hseigel, zgu

! src/share/vm/classfile/defaultMethods.cpp

Changeset: 4fe7815b04f5
Author:acorn
Date:  2013-10-30 09:26 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4fe7815b04f5

Merge


Changeset: c8fc12209830
Author:coleenp
Date:  2013-10-31 14:11 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/c8fc12209830

8027616: Off by one error in putback for compressed oops nashorn performance 
improvement
Summary: Should compare bounds greater than or equal 4G when deciding if shift 
is needed or CDS area + compressed class space are within 4G of each other.
Reviewed-by: stefank, hseigel, zgu

! src/share/vm/memory/metaspace.cpp

Changeset: 910026b800b8
Author:coleenp
Date:  2013-11-01 10:32 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/910026b800b8

8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use 
MethodHandle
8026948: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint might not work 
with anonymous classes
Summary: Walk methods in breakpoints for marking on stack so they aren't 
deallocated by redefine classes.  Use class_holder rather than class_loader to 
keep GC from reclaiming class owning the method.
Reviewed-by: sspitsyn, ehelin, sla

! src/share/vm/classfile/metadataOnStackMark.cpp
! src/share/vm/prims/jvmtiImpl.cpp
! src/share/vm/prims/jvmtiImpl.hpp

Changeset: 42790b7e4d48
Author:mgronlun
Date:  2013-11-01 15:56 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/42790b7e4d48

Merge

! src/cpu/x86/vm/templateTable_x86_32.cpp
! src/cpu/x86/vm/templateTable_x86_64.cpp

Changeset: f8b56489e455
Author:mgronlun
Date:  2013-11-01 17:10 +
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f8b56489e455

Merge


Changeset: 04df110c8655
Author:mgronlun
Date:  2013-11-02 20:56 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/04df110c8655

Merge


Changeset: 208ebea980f8
Author:roland
Date:  2013-11-04 21:59 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/208ebea980f8

8027445: SIGSEGV at TestFloatingDecimal.testAppendToDouble()I
Summary: String.equals() intrinsic shouldn't use integer length input in 
pointer arithmetic without an i2l.
Reviewed-by: kvn, twisti

! src/cpu/sparc/vm/sparc.ad
+ test/compiler/intrinsics/stringequals/TestStringEqualsBadLength.java

Changeset: e428d5e768e3
Author:rbackman
Date:  2013-11-04 10:44 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/e428d5e768e3

8027622: java.time.Instant.create failing since hs25-b56
Reviewed-by: kvn, iveresov

! src/share/vm/opto/compile.cpp
+ test/compiler/intrinsics/mathexact/CompareTest.java

Changeset: a905d33ce13a
Author:iveresov
Date:  2013-11-05 00:59 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/a905d33ce13a

8027751: C1 crashes in Weblogic with G1 enabled
Summary: Keep T_OBJECT operands in registers for logical operations on x64
Reviewed-by: kvn, roland

! src/share/vm/c1/c1_LinearScan.cpp
+ test/compiler/regalloc/C1ObjectSpillInLogicOp.java

Changeset: 94a83e0f9ce1
Author:iveresov
Date:  2013-11-05 01:57 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/94a83e0f9ce1

8017065: C2 allows safepoint checks to leak into G1 pre-barriers
Summary: Make all raw loads strictly respect control dependencies, make sure 
RCE doesn't move raw loads, add verification of G1 pre-barriers.
Reviewed-by: kvn, roland

! src/share/vm/opto/compile.cpp
! src/share/vm/opto/compile.hpp
! src/share/vm/opto/loopTransform.cpp
! src/share/vm/opto/memnode.hpp

Changeset: 613e6a6fc328
Author:iveresov
Date:  2013-11-05 02:29 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/613e6a6fc328

Merge

! src/share/vm/opto/compile.cpp

Changeset: be525e91f65b
Author:mikael
Date:  2013-11-06 06:51 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/be525e91f65b

8026775: nsk/jvmti/RedefineClasses/StressRedefine 

hg: jdk8/tl/jdk: 8026884: test for fix of JDK-8021398 does not have @bug tag; ...

2013-11-13 Thread eric . mccorkle
Changeset: ea91826bc2e9
Author:emc
Date:  2013-11-13 15:48 -0500
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ea91826bc2e9

8026884: test for fix of JDK-8021398 does not have @bug tag
8028021: @since 1.8 missing for certain methods in java.lang.reflect.Method in 
generated api docs
Summary: two documentation fixes
Reviewed-by: darcy

! src/share/classes/java/lang/reflect/Executable.java
! test/java/lang/reflect/Parameter/GetAnnotatedTypeTest.java



Code Review Request for 8026943: SQE test jce/Global/Cipher/SameBuffer failed

2013-11-13 Thread Valerie (Yu-Ching) Peng


Can someone help review my fixes for 8026943 SQE test 
jce/Global/Cipher/SameBuffer failed?


According to Cipher javadoc, both its update(...) and doFinal(...) 
methods should be copy-safe, meaning the |input| and |output| buffers 
can reference the same byte array and no unprocessed input data is 
overwritten when the result is copied into the output buffer. In 
CipherCore class, this condition is not checked and thus leads to the 
scenarios of unprocessed input data being accidentally overwritten.


I added checks to CipherCore class to detect this for both 
update(...)/doFinal(...) operations.
DESedeWrapCipher class is also updated to not pass the same byte array 
for input and output when using FeedbackCipher objects.
Also, removed similar handling inside CipherBlockChaining class as it's 
now handled at its caller level (CipherCore and DESedeWrapCipher classes).


Webrev: http://cr.openjdk.java.net/~valeriep/8026943/webrev.00/

Thanks,
Valerie


hg: jdk8/tl/langtools: 8025113: Convert 7 tools TryWithResources tests to jtreg format

2013-11-13 Thread sonali . goel
Changeset: f90d88913c5f
Author:sogoel
Date:  2013-11-13 16:36 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f90d88913c5f

8025113: Convert 7 tools TryWithResources tests to jtreg format
Reviewed-by: darcy, jjg

+ test/tools/javac/TryWithResources/ResDeclOutsideTry.java
+ test/tools/javac/TryWithResources/ResDeclOutsideTry.out
+ test/tools/javac/TryWithResources/ResInNestedExpr.java
+ test/tools/javac/TryWithResources/ResourceNameConflict.java
+ test/tools/javac/TryWithResources/ResourceNameConflict.out
+ test/tools/javac/TryWithResources/ResourceRedecl.java
+ test/tools/javac/TryWithResources/ResourceRedecl.out
+ test/tools/javac/TryWithResources/ResourceShadow.java
+ test/tools/javac/TryWithResources/TestTwr09.java



hg: jdk8/tl/jdk: 8028321: Fix for String.split() empty input sequence/JDK-6559590 triggers regression

2013-11-13 Thread xueming . shen
Changeset: 1d790a56de4e
Author:sherman
Date:  2013-11-13 22:22 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1d790a56de4e

8028321: Fix for String.split() empty input sequence/JDK-6559590 triggers 
regression
Summary: to undo the change for 6559590
Reviewed-by: darcy

! src/share/classes/java/lang/String.java
! src/share/classes/java/util/regex/Pattern.java
! test/java/lang/String/Split.java
! test/java/util/regex/RegExTest.java



Code Review Request: 8014266

2013-11-13 Thread Rajan Halade

May I request you to review this simple change.
http://cr.openjdk.java.net/~xuelei/8014266/webrev/

This is to update the test comment to assist in timeout analysis. The 
test may timeout on heavy loaded system as it involves multiple tls 
transactions.


--
http://www.oracle.com Rajan Halade, CISSP | Senior Member of Technical 
Staff

Phone: +1 4082763359 tel:+1%204082763359
Oracle JAVA Platform Group
4220 Network Circle, Bldg 22, #2155 | Santa Clara, CA 94538
http://www.oracle.com/commitment Oracle is committed to developing 
practices and products that help protect the environment


Re: Code Review Request: 8014266

2013-11-13 Thread Xuelei Fan
Looks fine to me.

Xuelei

On 11/14/2013 3:28 PM, Rajan Halade wrote:
 May I request you to review this simple change.
 http://cr.openjdk.java.net/~xuelei/8014266/webrev/
 
 This is to update the test comment to assist in timeout analysis. The
 test may timeout on heavy loaded system as it involves multiple tls
 transactions.
 
 -- 
 http://www.oracle.com Rajan Halade, CISSP | Senior Member of Technical
 Staff
 Phone: +1 4082763359 tel:+1%204082763359
 Oracle JAVA Platform Group
 4220 Network Circle, Bldg 22, #2155 | Santa Clara, CA 94538
 http://www.oracle.com/commitment Oracle is committed to developing
 practices and products that help protect the environment