Commit Graph

979 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
a5b3e891de Merge 2015-11-30 18:40:06 +01:00
Michael Haupt
063afcee2f 8143798: jck failures: api/java_lang/invoke/MethodHandle/index_MethodsTests[asSpreaderWMTE]: java.lang.VerifyError: Bad type on operand stack
Reviewed-by: vlivanov
2015-11-25 09:23:07 +01:00
Mandy Chung
eb2c6c52bb 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 15:05:58 -08:00
Christian Tornqvist
557f4f366f 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:32 -08:00
Aleksey Shipilev
7fafbde248 8136500: Integer/Long getChars and stringSize should be more idiomatic
Reviewed-by: igerasim, sherman, psandoz, jrose
2015-11-24 19:02:33 +03:00
Mandy Chung
500a73cdb1 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:50 -08:00
Daniel Fuchs
bd8942b7a1 8140364: JEP 264 Platform Logger API and Service Implementation
Initial implementation for JEP 264 Platform Logger API and Service

Reviewed-by: mchung, psandoz, rriggs
2015-11-20 19:26:16 +01:00
Michael Haupt
5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00
Claes Redestad
7563066613 8143253: java/lang/invoke/CompileThresholdBootstrapTest.java failing on mach5
Reviewed-by: lancea
2015-11-18 20:56:00 +01:00
Claes Redestad
e9b75962b3 8143232: Fix java.lang.invoke bootstrap when specifying COMPILE_THRESHOLD
Reviewed-by: vlivanov
2015-11-18 17:39:40 +01:00
David Lindholm
ac45dea45e 8145092: Use Unified Logging for the GC logging
JEP-271

Reviewed-by: sjohanss, brutisso
2015-11-18 14:51:10 +01:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Aleksey Shipilev
c7a7ba0e1e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:05 +03:00
Alejandro Murillo
b96356c53b Merge 2015-11-09 20:37:05 -08:00
Roger Riggs
fe2786af5f 8138566: (Process) java.lang.Process.allChildren specification clarification
8140213: Process/ProcessHandle.onExit() spec need to be improved
8140250: (process) Process.info description is inaccurate

Rename to descendants() and clarify

Reviewed-by: psandoz
2015-11-09 11:02:07 -05:00
Alejandro Murillo
7bbbc98da3 Merge 2015-11-06 11:11:53 -08:00
Tobias Hartmann
b45249a128 8141393: [TESTBUG] VMOptionsTest.java fails on ARM
The test should not assume that CompactStrings is enabled by default on all platforms.

Reviewed-by: roland
2015-11-05 09:08:42 +01:00
Joe Darcy
03a416db62 8141368: Typo in java/lang/Class/IsEnum.java test
Reviewed-by: jjg
2015-11-03 17:41:38 -08:00
Roger Riggs
937b5e1d5e 8139345: java/lang/ProcessHandle/TreeTest.java test fails with ... Wrong number of children expected [3] but found [2]
Reviewed-by: darcy
2015-11-03 10:20:14 -05:00
Tobias Hartmann
4ed5b73f3d 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:42:11 +01:00
Paul Sandoz
5ba6e8e439 8133348: Reference.reachabilityFence
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: plevart, mr, chegar, mchung
2015-10-06 18:42:06 +02:00
Alejandro Murillo
ed550bb440 Merge 2015-10-30 12:03:09 -07:00
Dean Long
19aba3bac9 Merge 2015-10-27 01:45:03 -04:00
Alexandre Iline
9cbe14b4df 8140336: Add @modules for exported dependencies to jdk_core tests
Reviewed-by: alanb, mchung
2015-10-27 20:06:02 -07:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Vladimir Ivanov
317553031c 8139881: Exclude java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java from execution
Reviewed-by: kvn
2015-10-19 17:52:39 +03:00
Joe Darcy
f674b491a6 8138823: Correct bug in port of fdlibm hypot to Java
Reviewed-by: bpb
2015-10-06 18:39:26 -07:00
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07:00
Roger Riggs
eda52119fb 8137313: TreeTest.java intermittently fails with a timeout
Enhance debugging information

Reviewed-by: chegar, darcy
2015-09-30 12:33:08 -04:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Roger Riggs
4e7617c040 8132541: (process) ProcessBuilder support for redirection to discard output
Add redirect to NUL or /dev/null depending on the OS

Reviewed-by: chegar, martin
2015-09-23 11:18:34 -04:00
Michael Haupt
f1f609ddaa 8136931: more fine-grained condition checking for BMH species creation
Reviewed-by: psandoz, sundar
2015-09-23 08:43:51 +02:00
Roger Riggs
9d5cbc5fbc 8132735: java/lang/ProcessHandle/TreeTest failed with java.lang.AssertionError: Start with zero children
Revise test to only operate on processes it spawns

Reviewed-by: chegar
2015-09-17 22:46:04 -04:00
Roger Riggs
0d17c738d7 Merge 2015-09-17 22:46:02 -04:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Roger Riggs
6eb869c3d6 Merge 2015-09-17 13:33:33 -04:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Roger Riggs
1b8b6a4655 8133528: java/lang/ProcessHandle/OnExitTest.java fails intermittently
Remove checks for processes not spawned by the test

Reviewed-by: joehw
2015-09-15 22:11:00 -04:00
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04:00
Roger Riggs
aeb4acfb60 8135094: (process) java/lang/ProcessHandle/InfoTest fails testing commandLine()
Reviewed-by: chegar, simonis
2015-09-09 16:12:55 -04:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Peter Brunet
1dbf8f4761 8134456: jdk/test/java/lang/SecurityManager/CheckPackageAccess.java failing on several platforms
Add new restricted packages to the test code

Reviewed-by: mullan, mchung
2015-08-27 22:35:24 -05:00
Joel Borggrén-Franck
b7e143e8f6 8073056: Repeating annotations throws java.security.AccessControlException with a SecurityManager
Reviewed-by: ahgross, darcy
2015-08-24 11:00:12 +02:00
Mandy Chung
f32b9d1944 8132944: test java/lang/ClassLoader/GetSystemPackage.java writes stuff to Agent stdout
Reviewed-by: dholmes
2015-08-18 20:30:15 -07:00
Joe Darcy
71cc6f510a 8133808: Place java/lang/ProcessHandle/InfoTest.java on the Problem List
Reviewed-by: lancea
2015-08-18 12:49:00 -07:00
Alejandro Murillo
64e18f581d Merge 2015-08-17 11:18:31 -07:00
Konstantin Shefov
5e34f12e24 8060717: [TESTBUG] Improve test coverage of MethodHandles.explicitCastArguments()
Reviewed-by: vlivanov, mhaupt
2015-08-17 12:21:34 +03:00
Konstantin Shefov
20d0bb4d38 8133543: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java should be modified
Reviewed-by: vlivanov, mhaupt
2015-08-17 12:13:18 +03:00
Volker Simonis
1b8b82463e 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
Reviewed-by: rriggs, smarks
2015-08-14 10:35:45 +02:00
Kim Barrett
8bfa163a68 8132306: java/lang/ref/ReferenceEnqueue.java fails with "RuntimeException: Error: poll() returned null; expected ref object"
Carefully order ref.queue and queue list updates to address races.

Reviewed-by: dholmes, dfuchs, plevart
2015-08-04 17:26:14 -04:00
Olivier Lagneau
e4c4b49bdf 8130339: Add tracing info to LowMemoryTest.java to help 8130339 diagnosis
Run test with traces even when timeout occurs.

Reviewed-by: jbachorik, sspitsyn
2015-08-03 15:31:29 +02:00
Jiangli Zhou
47e90bb79c Merge 2015-07-31 16:00:29 -04:00
Alejandro Murillo
972e5ce0a3 Merge 2015-07-31 10:15:03 -07:00
Dmitry Samersoff
47bdec1c0e 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:29:13 +03:00
Jaroslav Bachorik
aa572f2749 Merge 2015-07-24 20:45:30 +02:00
Konstantin Shefov
fdc7b2e85f 8130006: java/lang/invoke/MethodHandles/CatchExceptionTest Fails
Reviewed-by: psandoz
2015-07-23 16:46:54 +03:00
Volker Simonis
29a79fc1a3 8132374: AIX: fix value of os.version property
Reviewed-by: alanb, rriggs
2015-07-27 19:50:14 +02:00
Katja Kantserova
b66a26f3b1 8132094: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, sspitsyn
2015-07-22 09:51:40 +02:00
Jaroslav Bachorik
d5644aff56 8132059: com/sun/jdi/BreakpointTest.java fails with java.lang.IllegalArgumentException: Bad line number
Reviewed-by: dcubed
2015-07-21 18:38:09 +02:00
Katja Kantserova
29a5a845e9 8075658: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, olagneau, darcy
2015-07-20 13:14:47 +02:00
Mandy Chung
8bc30fb3c8 8104574: Update tests to prepare for system class loader not be URLClassLoader
Reviewed-by: chegar
2015-07-15 12:10:03 +08:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Roger Riggs
e8d341671b 8130877: (process) java/lang/ProcessHandle/TreeTest test3 failure - Destroyed process.isAlive
Update test to check for children after processes are destroyed

Reviewed-by: darcy
2015-07-14 22:21:02 -04:00
Yuka Kamiya
64b36f8f63 8032446: Support Unicode 7.0.0 in JDK 9
8130889: Missing "@since 1.8" tags in j.l.Character.java

Reviewed-by: naoto, okutsu
2015-07-15 11:05:51 +09:00
Alejandro Murillo
867e029083 Merge 2015-07-09 22:46:18 -07:00
Daniel D. Daugherty
bee43f05d7 Merge 2015-07-02 14:39:54 -07:00
Stefan Sarne
32c0d8bc46 6896810: TEST_BUG: java/lang/ref/SoftReference/Pin.java fails with OOME during System.out.println
Reviewed-by: stefank, dholmes, chegar, sjohanss
2015-06-30 17:16:40 +02:00
Roger Riggs
99f867bded 8098852: java/lang/ProcessHandle/InfoTest.java failed: total cpu time expected < 10s more
Correct javachild to spin until cputime increases by amount; cleanup InfoTest

Reviewed-by: darcy
2015-07-09 09:55:36 -04:00
Roger Riggs
74427b9101 8130296: [TESTBUG] java/lang/ProcessHandle/OnExitTest - Unaccounted for children expected [0] but found [1]
Ignore extra processes that are not created by the test and cleanup any remaining child processes

Reviewed-by: darcy
2015-07-08 21:54:32 -04:00
Roger Riggs
4b7514c9fd 8085981: java/lang/ProcessHandle/OnExitTest.java: AssertionError: Child onExit not called
A race condition caused an erroneous fault

Reviewed-by: darcy
2015-07-07 21:25:05 -04:00
Roger Riggs
21ed89bc5d 8085980: java/lang/ProcessHandle/TreeTest.java: AssertionError: Wrong number of spawned children expected [1] but found [2]
Modify to expect only the spawned children; enhance debug output

Reviewed-by: darcy
2015-07-07 16:54:52 -04:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Konstantin Shefov
d7ff33fd1b 8129532: LFMultiThreadCachingTest.java failed with ConcurrentModificationException
Reviewed-by: vlivanov
2015-06-23 16:36:04 +03:00
Joe Wang
4411bdd3cc 8078427: More supportive home environment
Reviewed-by: dfuchs, lancea, skoivu
2015-05-26 10:39:22 -07:00
Yuka Kamiya
0c9cabae96 8072600: Unicode 8 support
Reviewed-by: okutsu
2015-10-20 19:34:04 +09:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Roger Riggs
cacb730235 8086208: java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Reviewed-by: martin, dholmes
2015-06-17 16:03:49 -04:00
Sean Mullan
1534835fb7 Merge 2015-06-17 15:48:28 -04:00
Daniel Fuchs
bb207a1cc1 8072692: Improve performance of SecurityManager.checkPackageAccess
Reviewed-by: mullan, weijun
2015-06-17 15:47:12 -04:00
Konstantin Shefov
2f5dc153c2 8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option
Reviewed-by: vlivanov
2015-06-17 20:19:51 +03:00
Konstantin Shefov
b07bdeb8bd 8067005: Several java/lang/invoke tests fail due to exhausted code cache
Reviewed-by: vlivanov
2015-06-17 20:17:25 +03:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Roger Riggs
8979cb0b2d 8086117: java/lang/Runtime/exec/LotsOfOutput.java still fails intermittently with Process consumes memory
Reviewed-by: chegar
2015-06-10 07:52:43 -04:00
Alejandro Murillo
84e8aa917e Merge 2015-06-08 11:11:48 -07:00
Konstantin Shefov
8f99c7eca7 8068416: LFGarbageCollectedTest.java fails with OOME: "GC overhead limit exceeded"
Reviewed-by: vlivanov
2015-06-05 13:14:36 +03:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Roger Riggs
afb73945a3 8067808: java/lang/ProcessBuilder/Basic.java failed on Assertion
Change to use javaChild reporting its pid not portable

Reviewed-by: igerasim
2015-06-03 18:18:05 -04:00
Roger Riggs
b440bfb8eb 8081567: java/lang/ProcessHandle/InfoTest.java failed Cannot run program "whoami"
Replace use of whoami with checking the user against a file created

Reviewed-by: igerasim
2015-06-03 18:17:04 -04:00
Ivan Gerasimov
f35750c5d6 8058779: Faster implementation of String.replace(CharSequence, CharSequence)
Reviewed-by: sherman, plevart, forax, psandoz
2015-06-03 19:26:58 +03:00
Roger Riggs
ea68abc64e 8081566: java/lang/ProcessHandle/InfoTest.java failed on case sensitive command
Reviewed-by: lancea, alanb
2015-06-01 10:29:06 -04:00
Roger Riggs
b4ff25ecc8 8081536: (process) remove unreliable ScaleTest from ProcessHandle tests
Reviewed-by: darcy
2015-05-29 15:17:07 -04:00
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04:00
Ivan Gerasimov
97f5b473ec 8081027: Create a common test to check adequacy of initial size of static HashMap/ArrayList fields
Reviewed-by: martin
2015-05-29 19:20:22 +03:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Andreas Eriksson
e6e9202e93 8080428: [TESTBUG] java/lang/invoke/8022701/MHIllegalAccess.java - FAIL: Unexpected wrapped exception java.lang.BootstrapMethodError
Reviewed-by: vlivanov
2015-05-28 12:11:33 +02:00
Alejandro Murillo
d312bbb6ed Merge 2015-05-21 17:11:55 -07:00
Roger Riggs
b7d8c57908 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory
Small allocations may bump total memory, raise THRESHOLD to 2Mb

Reviewed-by: martin
2015-05-20 11:17:09 -04:00
Igor Ignatyev
8f509d71e6 8055269: java/lang/invoke/MethodHandles/CatchExceptionTest.java fails intermittently
Reviewed-by: vlivanov
2015-05-19 20:04:29 +03:00
Ivan Gerasimov
43b2601a96 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal
Reviewed-by: martin, chegar
2015-05-18 19:15:50 +03:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Jaroslav Bachorik
3e2a1f00e5 8078143: java/lang/management/ThreadMXBean/AllThreadIds.java fails intermittently
Reviewed-by: dholmes, martin
2015-05-14 11:41:11 +02:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Brian Burkhalter
30e8183ee8 8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.

Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Roger Riggs
41b36c4295 8078826: Add diagnostic info for java/lang/Runtime/exec/LotsOfOutput.java fails intermittently
Add debugging output for diagnose intermittent failure

Reviewed-by: chegar, joehw
2015-04-28 09:28:24 -04:00
Calvin Cheung
cd6c611521 Merge 2015-04-17 14:37:44 -07:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Vladimir Kozlov
652a289f75 Merge 2015-04-16 14:06:33 -07:00
Jaroslav Bachorik
1c76dd4fbc 8077327: ThreadStackTrace.java throws exception: BlockedThread expected to have BLOCKED but got RUNNABLE
Reviewed-by: sspitsyn, dfuchs
2015-04-15 09:38:45 +02:00
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Jaroslav Bachorik
77b5a0e6c0 8076050: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java fails intermittently
Reviewed-by: sla
2015-04-13 09:43:12 +02:00
Daniel D. Daugherty
f4060f076d Merge 2015-05-16 13:22:40 -07:00
Jaroslav Bachorik
15fffb90d7 8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
Reviewed-by: sla
2015-05-13 10:17:38 +02:00
Jaroslav Bachorik
4d07222b01 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:39:38 +02:00
Harold Seigel
e86e812a29 Merge 2015-03-29 09:21:15 -04:00
Katja Kantserova
2d4a9917d5 8075820: java/lang/management/ThreadMXBean/FindDeadlocks.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:39:48 +01:00
Roger Riggs
a056457b52 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
Implement checking for NPE in Process implementation before other conditions

Reviewed-by: martin, chegar
2015-03-23 10:13:32 -04:00
Serguei Spitsyn
40807f0a8e 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Update java/lang/instrument/RedefineMethodInBacktrace.sh test to cover the hotspot fix

Reviewed-by: coleenp, dcubed
2015-03-20 01:59:08 -07:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Alejandro Murillo
d9955b1c00 Merge 2015-03-12 19:51:36 -07:00
Jaroslav Bachorik
1c5857f8dd 6712222: Race condition in java/lang/management/ThreadMXBean/AllThreadIds.java
Reviewed-by: dholmes, dfuchs
2015-03-10 09:37:56 +01:00
Christian Tornqvist
b520218d57 Merge 2015-03-02 05:32:14 -08:00
Vladimir Ivanov
284a867adc 8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Joel Borggrén-Franck
cdf8c27ddb 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Serguei Spitsyn
a3c0889315 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Add new test java/lang/instrument/ManyMethodsBenchmarkAgent.java

Reviewed-by: coleenp, dcubed
2015-02-25 01:02:04 -08:00
Jeremy Manson
d1225ad485 6588467: Add isDaemon() and getPriority() to ThreadInfo
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Mandy Chung
db4c181844 8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Alejandro Murillo
f245610f7f Merge 2015-03-10 14:20:06 -07:00
Roger Riggs
367a429ff4 8058464: (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Add a class level spec for null arguments throwing NPE in ProcessBuilder

Reviewed-by: martin, alanb
2015-03-10 16:44:45 -04:00
Jaroslav Bachorik
103110ad85 8069286: Unexpected count of notification in LowMemoryTest
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Johannes Scheerer
b856eeaa98 8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Katja Kantserova
45a6ed8315 8068613: Wrong number of objects pending finalization start
Repeat until expected result, instead of fail after sleep()

Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d 8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -08:00
Serguei Spitsyn
3de0140a88 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Enable the test: java/lang/instrument/IsModifiableClassAgent.java

Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Jesper Wilhelmsson
ed183aea22 Merge 2015-01-22 12:26:25 +01:00
Michail Chernov
c15946fb1a 8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.

Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Alejandro Murillo
fd925c52da Merge 2015-01-15 19:23:49 -08:00
Michail Chernov
cd582fa380 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.

Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Jaroslav Bachorik
6a4272d45c 8062450: Timeout in LowMemoryTest.java
Reviewed-by: dholmes
2015-01-12 11:01:23 +01:00
Alejandro Murillo
800c634a8a Merge 2015-01-13 08:58:07 -08:00
Vladimir Ivanov
3b573293b8 8067344: Adjust java/lang/invoke/LFCaching/LFGarbageCollectedTest.java for recent changes in java.lang.invoke
Reviewed-by: psandoz
2015-01-13 07:57:51 -08:00
Alexander Kulyakthin
53664dc976 8068242: Quarantine the test IsModifiableClassAgent.java
Quarantine the test

Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Mandy Chung
cf23b1ea4b 8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
Reviewed-by: alanb, hseigel
2014-12-17 12:29:20 -08:00
Alejandro Murillo
346b210c83 Merge 2014-12-16 13:10:34 -08:00
Daniel Fuchs
e580eec37c 8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible
This test use the jrt:/ file system to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.

Reviewed-by: coffeys, dholmes, plevart
2014-12-16 17:32:56 +01:00
Roger Riggs
ce6c1fa0fa 8067486: Add diagnostics for Exception: Read from closed pipe hang
Reviewed-by: lancea
2014-12-15 17:36:20 -05:00
Yumin Qi
32d6037fb4 Merge 2014-12-12 20:51:03 -08:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -08:00
Konstantin Shefov
cb8bd7875b 8066798: [TEST] Make java/lang/invoke/LFCaching tests use lib/testlibrary/jdk/testlibrary/TimeLimitedRunner.java to define their number of iterations
Reviewed-by: iignatyev, vlivanov
2014-12-11 15:10:35 +03:00
Vladimir Ivanov
e0eba41e1c 8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Jaroslav Bachorik
98da47c05b 8034263: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails intermittently
Reviewed-by: sla
2014-12-04 10:34:55 +01:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Jaroslav Bachorik
8fd2fa2d03 8064441: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, egahlin, sspitsyn
2014-12-03 16:44:35 +01:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Jan Lahoda
56d2ce25a9 8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:12:40 +01:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Igor Ignatyev
7abe24d3ea 8039953: [TESTBUG] Timeout java/lang/invoke/MethodHandles/CatchExceptionTest.java
Reviewed-by: vlivanov, psandoz
2014-12-01 21:58:46 +03:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Yumin Qi
114dfd5a23 Merge 2014-11-26 23:49:02 +00:00
Yumin Qi
2ae66a0f29 8038468: java/lang/instrument/ParallelTransformerLoader.sh fails with ClassCircularityError
Add check null for loader in transform to avoid when loading a class in callback handler for boot loader, CFLH set early enough to catch classes needed during class loading, i.e. sun.misc.URLClassPath$JarLoader$2 seen in the failure.

Reviewed-by: acorn, sspitsyn
2014-11-26 15:33:43 -08:00
Jesper Wilhelmsson
dcff994c52 Merge 2014-11-26 17:41:08 +01:00
Konstantin Shefov
758644082b 8059070: [TESTBUG] java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed - timeout
Reviewed-by: psandoz, vlivanov
2014-11-25 14:16:55 +04:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Alejandro Murillo
2e75649af2 Merge 2014-11-21 08:00:31 -08:00
Evgeniya Stepanova
71a33bf064 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
Reviewed-by: brutisso, dholmes
2014-11-19 17:51:06 +03:00
Alejandro Murillo
e70f855944 Merge 2014-11-13 16:11:01 -08:00
Roger Riggs
4401923a82 8043477: java/lang/ProcessBuilder/Basic.java failed with: java.lang.AssertionError: Some tests failed
Reviewed-by: martin
2014-11-13 12:29:54 -05:00
Staffan Larsen
47ac075518 Merge 2014-11-13 08:02:38 +01:00
Eric McCorkle
935c33a50c 8062556: Add jdk tests for JDK-8058322 and JDK-8058313
Add tests for two hotspot reflection fixes.

Reviewed-by: dholmes
2014-11-10 15:06:13 -05:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Martin Buchholz
84e99bc48e 8062771: Core reflection should use final fields whenever possible
Reviewed-by: psandoz, darcy
2014-11-06 13:18:44 -08:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Jaroslav Bachorik
543d65a194 8062896: TEST_BUG: java/lang/Thread/ThreadStateTest.java can't compile with change for 8058506
Reviewed-by: dholmes, sla
2014-11-05 09:49:20 +01:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Mattias Tobiasson
7abf72a2dc 8061960: java/lang/instrument/DaemonThread/TestDaemonThread.java regularly fails due to exceeded timeout
Move timeout parameter to correct place on command line

Reviewed-by: jbachorik
2014-10-28 11:45:31 +01:00
Jaroslav Bachorik
53a4f4cd62 8058506: ThreadMXBeanStateTest throws exception
Reviewed-by: egahlin, dholmes
2014-10-23 11:42:20 +02:00
Vladimir Ivanov
0c95b0fb5f 8060483: NPE with explicitCastArguments unboxing null
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Jaroslav Bachorik
c603f42b91 8056143: interrupted java/lang/management/MemoryMXBean/LowMemoryTest.java leaves running process
Reviewed-by: sla, dholmes
2014-10-17 10:53:30 +02:00
Alejandro Murillo
946b0de6db Merge 2015-01-20 10:22:44 -08:00
Ivan Gerasimov
a7cd12f10a 8067951: System.loadLibrary cannot find library when path contains quoted entry
Reviewed-by: sherman, rriggs, alanb
2015-01-19 19:12:11 +03:00
Joe Darcy
9800aaa84a 8060077: Class.toGenericString specification doesn't mention array types
Reviewed-by: psandoz, jfranck
2015-01-16 14:04:27 -08:00
Martin Buchholz
5e65c0f984 8063147: Class.getFields spec should state that fields are inherited from superinterfaces
Reviewed-by: psandoz, chegar
2014-11-06 13:29:36 -08:00
Konstantin Shefov
30f7d127ad 8058733: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
Reviewed-by: darcy, vlivanov
2014-10-10 21:28:35 +04:00
Konstantin Shefov
8bef42ee6a 8058695: [TESTBUG] Reinvokers with arity >253 can't be cached
Reviewed-by: iignatyev, vlivanov
2014-10-03 12:44:30 +04:00
Alejandro Murillo
9e10c63840 Merge 2014-09-26 01:40:33 -07:00
Alejandro Murillo
7268eec14e Merge 2014-09-19 08:55:47 -07:00
Sandipan Razzaque
24028df237 8043740: Doubles with large exponents overflow to Infinity incorrectly
Modify test of exponent overflow to account for subsequent decrement.

Reviewed-by: darcy
2014-09-22 10:41:45 -07:00
Konstantin Shefov
72e770ad77 8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods
Reviewed-by: vlivanov, iignatyev, psandoz
2014-09-19 16:49:08 +04:00
Tobias Hartmann
37bfec7de8 8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.

Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:04:31 +02:00
Amy Lu
6f7645f43c 8058569: Update java/lang/invoke/lambda tests to eliminate dependency on sun.tools.jar.Main
Reviewed-by: dholmes, alanb
2014-09-17 23:27:59 -04:00
Vladimir Ivanov
21e3c51138 8058584: Ignore java/lang/invoke/LFCaching/LFGarbageCollectedTest until 8057020 is fixed
Reviewed-by: darcy, alanb
2014-09-16 23:04:13 +04:00
John Rose
da56d3f6d1 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
Claes Redestad
1dc4b5e2f8 8055251: Re-examine Integer.parseInt and Long.parseLong methods
Reviewed-by: alanb
2014-09-10 13:51:17 +01:00
Stefan Karlsson
a85101b24e 8057174: MemoryMXBean tests -- TEST FAILED: chunkSize: 6291456 is less than YOUNG_GEN_SIZE: 8388608
Reviewed-by: jbachorik, jwilhelm, dfuchs
2014-09-04 13:20:27 +02:00
Andrej Golovnin
fe519e6845 5043030: (reflect) unnecessary object creation in reflection
Use valueOf() instead of new for primitive wrappers.

Reviewed-by: jfranck
2014-09-09 12:04:31 +02:00
Joel Borggrén-Franck
febacf5319 8054987: (reflect) Add sharing of annotations between instances of Executable
Reviewed-by: darcy, plevart
2014-09-09 10:48:01 +02:00
Konstantin Shefov
881fa79cfe 8057719: Develop new tests for LambdaForm Reduction and Caching feature
Reviewed-by: iignatyev, vlivanov, psandoz
2014-09-12 22:33:09 +04:00
Konstantin Shefov
9e30841d28 8057707: TEST library enhancement in lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java
Reviewed-by: iignatyev, vlivanov
2014-09-12 22:33:09 +04:00
Jaroslav Bachorik
82dd03274a 8037082: java/lang/instrument/NativeMethodPrefixAgent.java failing
Reviewed-by: sla
2014-08-25 18:17:24 +02:00
Amy Lu
10489a3c6c 8055852: Add test/java/lang/Math/DoubleConsts.java and FloatConsts.java
Reviewed-by: mchung, darcy
2014-08-22 18:54:20 -07:00
Amy Lu
ff93fd2cce 8042003: Update java/lang/Math tests to eliminate dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts
Reviewed-by: mchung, darcy
2014-08-22 14:56:09 -07:00
Evgeniya Stepanova
cd181f5b09 8055393: [Testbug] Some tests are being executed and fail under profiles
Reviewed-by: mchung, dholmes
2014-08-21 22:07:14 -07:00
Staffan Larsen
cde8258b65 8055677: java/lang/instrument/RedefineBigClass.sh RetransformBigClass.sh start failing after JDK-8055012
Write dcmd output to separate files so it does not confuse the output.

Reviewed-by: ctornqvi, mgronlun
2014-08-21 13:09:28 +02:00
Stefan Karlsson
73e818fea9 8035939: java/lang/management/MemoryMXBean/MemoryManagement.java timed out on Linux-amd64
Reviewed-by: sla, brutisso, mgerdin
2014-08-19 12:18:09 +02:00
Christian Tornqvist
482e4a8859 8055012: [TESTBUG] NMTHelper fails to parse NMT output
Fixed the regular expression to parse the slightly changed output format of the new NMT implementation

Reviewed-by: olagneau, sla
2014-08-19 06:56:59 -07:00
Joel Borggrén-Franck
27bdc99451 8044629: (reflect) Constructor.getAnnotatedReceiverType() returns wrong value
Update javadoc and align implementation with new spec

Reviewed-by: psandoz
2014-08-12 10:16:58 +02:00
Claes Redestad
ea2632f91d 8054828: TEST_BUG: Typos in java/lang/Long/ParsingTest
Reviewed-by: alanb
2014-08-12 14:57:36 +01:00
Weijun Wang
bbaf4bdb09 6997010: Consolidate java.security files into one file with modifications
Reviewed-by: mullan, erikj
2014-08-11 11:11:55 +08:00
Ivan Gerasimov
6b6a37ee50 8051382: Optimize java.lang.reflect.Modifier.toString()
Reviewed-by: martin
2014-08-06 02:11:17 +04:00
Rob McKenna
063b7f5dc9 8030166: java/lang/ProcessBuilder/Basic.java fails intermittently: waitFor took too long
Reviewed-by: rriggs
2014-08-01 15:34:55 +01:00
Claes Redestad
59d0a64c19 8041972: Additional parse methods for Long/Integer
Reviewed-by: mduigou, psandoz
2014-07-12 01:36:25 +02:00
Xueming Shen
9f7993fe13 8042589: String.toLowerCase do not work for some concatenated strings
To include surrogate check in loop

Reviewed-by: mchung
2014-07-17 11:08:50 -07:00
Miroslav Kos
dc6a51546f 8041633: [TESTBUG] java/lang/SecurityManager/CheckPackageAccess.java fails with "In j.s file, but not in golden set: com.sun.activation.registries."
Adding newly restricted package to golden set in the test

Reviewed-by: asmotrak, coffeys, mullan
2014-05-20 16:02:57 +02:00
Alejandro Murillo
52c1d16db3 Merge 2014-07-11 17:04:52 -07:00
Joe Darcy
831451c5ba 8050051: Remove unneeded/obsolete -source/-target options in shell tests
Reviewed-by: alanb
2014-07-11 14:06:42 -07:00
Alejandro Murillo
747989869c Merge 2014-07-11 13:02:40 -07:00
Valerie Peng
efa54ce543 8043406: Change default policy for JCE providers to run with as few privileges as possible
Provide default permissions for crypto providers

Reviewed-by: mullan, vinnie
2014-07-10 22:44:58 +00:00
Serguei Spitsyn
ddccb62752 8048185: [TESTBUG] need a JTREG test for the fix of JDK-8042796 (OLD and/or OBSOLETE method(s) found)
Need to integrate the jtreg unit test for the fixed bug JDK-8042796

Reviewed-by: dcubed, coleenp
2014-06-26 03:26:20 -07:00
Erik Gahlin
723bfa2b58 8047368: Remove oracle.jrockit.jfr from open package.access list
Reviewed-by: sla, mullan
2014-07-07 15:06:00 +02:00
Jaroslav Bachorik
7b43631edc 8038794: java/lang/management/ThreadMXBean/SynchronizationStatistics.java fails intermittently
Reviewed-by: sla
2014-07-01 11:47:36 +02:00
Vladimir Ivanov
a58e574ffc 8046903: VM anonymous class members can't be statically invocable
Reviewed-by: jrose
2014-06-17 13:06:05 +04:00
Joel Borggrén-Franck
6445980a62 8029674: (reflect) getMethods returns default methods that are not members of the class
Filter out methods that have a more specific default method from result

Reviewed-by: darcy, dlsmith
2014-06-10 14:40:20 +02:00
Vladimir Ivanov
b2e8017412 8032400: JSR292: invokeSpecial: InternalError attempting to lookup a method
Reviewed-by: psandoz, jrose
2014-06-09 15:40:40 +04:00
Joel Borggrén-Franck
a1ae0af017 8039916: AnnotatedType.getType() of a Executable parameters may return wrong type
Reviewed-by: psandoz
2014-06-04 14:42:48 +02:00
Ivan Gerasimov
a9f575446d 8037866: Replace the Fun class in tests with lambdas
Reviewed-by: martin
2014-06-02 19:49:57 +04:00
Vladimir Ivanov
0c8a572009 8035186: j2se_jdk/jdk/test/java/lang/invoke/lambda/LogGeneratedClassesTest.java - assertion error
Reviewed-by: psandoz
2014-05-29 13:27:36 +04:00
Roger Riggs
20e26966e1 8003488: (process) Provide Process.getPid()
Add Process.getPid

Reviewed-by: alanb, martin, igerasim
2014-05-27 16:05:04 -04:00
Vladimir Ivanov
b47c2517ad 8037210: Get rid of char-based descriptions 'J' of basic types
Reviewed-by: jrose, psandoz, twisti
2014-02-24 18:11:55 +04:00
Katja Kantserova
c3d3305c76 8043520: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, egahlin
2014-05-22 11:05:36 +02:00
Joel Borggrén-Franck
abd503efeb 8038994: AnnotatedType.getType() of a TypeVariable boundary without annotations return null
Reviewed-by: psandoz
2014-05-12 14:47:55 +02:00
Naoto Sato
d0dadf23c5 8041791: String.toLowerCase regression - violates Unicode standard
Reviewed-by: peytoia
2014-05-14 10:52:51 -07:00
Peter Levart
f7d1a7975b 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)
Reviewed-by: alanb, rriggs, martin
2014-05-12 17:34:29 +02:00
Katja Kantserova
0c78d5f9e3 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, alanb
2014-05-09 15:24:57 +02:00
Mandy Chung
da3781e49b 8035807: Convert use of sun.misc.BASE64Encoder/Decoder with java.util.Base64
Reviewed-by: alanb, vinnie, sherman, msheppar
2014-04-22 15:16:37 -07:00
Alexandre Iline
092e29980a 8039438: Some tests depend on internal API sun.misc.IOUtils
Remove dependency on sun.misc.IOUtils.readFully(InputStream, int, boolean)

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:12:22 -07:00
Ivan Gerasimov
0688bf058d 8038982: java/lang/ref/EarlyTimeout.java failed again
Reviewed-by: mchung
2014-04-18 18:46:50 +04:00
Mattias Tobiasson
1121030e24 8030628: Update java/lang/management/MemoryMXBean tests to ignore GC setting by jtreg
Reviewed-by: mchung, jbachorik
2014-04-16 12:40:19 -07:00
Mattias Tobiasson
5b046a555f 8038822: java/lang/management/MemoryMXBean/LowMemoryTest2.sh still fails with OutOfMemoryError: Metaspace
Force a GC when usage above threshold. Add more logging.

Reviewed-by: dfuchs
2014-04-04 13:01:26 +02:00
Ivan Gerasimov
65a18434e7 8038333: TEST_BUG: java/lang/ref/EarlyTimeout.java fails with a non-adequate message
Reviewed-by: mchung
2014-04-02 12:17:25 +04:00
Igor Ignatyev
4fdcaf04d8 8038186: [TESTBUG] improvements of test j.l.i.MethodHandles
Reviewed-by: iveresov, twisti, vlivanov
2014-03-29 12:29:21 +04:00
Ivan Gerasimov
be3c17a489 6943190: TEST_BUG: some tests in java/lang/Runtime/exec have hard-coded path to shell commands
Reviewed-by: martin, rriggs, alanb
2014-03-24 14:14:03 +04:00
Volker Simonis
02186906ef 8037013: [TESTBUG] Fix test/java/lang/ClassLoader/Assert.sh on AIX
Reviewed-by: mchung, alanb
2014-03-18 11:10:53 +01:00
Ivan Gerasimov
d3271335ad 8034262: Test java/lang/ProcessBuilder/CloseRace.java fails
Reviewed-by: martin, dholmes
2014-03-12 21:45:20 +04:00
Vladimir Ivanov
9d59eb2da1 8036117: MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)
Reviewed-by: jrose, twisti
2014-03-11 19:54:33 +04:00
Jaroslav Bachorik
c174f6339a 8034168: ThreadMXBean/Locks.java failed, blocked on wrong object
Reviewed-by: martin, dholmes
2014-03-11 14:18:46 +01:00
Mattias Tobiasson
8a385b110f 8031065: java/lang/management/MemoryMXBean/LowMemoryTest2.sh fails: OutOfMemoryError: Metaspace
Load classes until getUsageThresholdCount() > 0 instead of isUsageThresholdExceeded().

Reviewed-by: dfuchs, sjiang, sla
2014-03-04 09:35:54 +01:00
Robert Field
2e148fb065 8035776: Consistent Lambda construction
Reviewed-by: ahgross, briangoetz, dlsmith
2014-03-04 15:33:30 -08:00
Mattias Tobiasson
c96fd46a4c 6625574: java/lang/management/MemoryMXBean/Pending.java fails: "pending finalization = 0 but expected > 0"
Move local objs variable to a static public so the the optimizer will not remove it unexpectedly.

Reviewed-by: sla
2014-02-28 13:38:51 +01:00
Vladimir Ivanov
856f5c5823 8027827: Improve performance of catchException combinator
8034120: MethodHandles.catchException doesn't handle VarargsCollector right

Reviewed-by: lagergren, psandoz, jrose
2014-03-01 02:05:53 +04:00
Brent Christian
c92ff7d5e7 6835233: Fedora 9 jdk regression test failed: java/lang/instrument/ParallelTransformerLoader.sh
Remove @ignore from ParallelTransformerLoader.sh

Reviewed-by: alanb, sla, smarks
2014-02-28 10:27:54 -08:00
Ivan Gerasimov
e66ea0fddc 6853696: (ref) ReferenceQueue.remove(timeout) may return null even if timeout has not expired
Reviewed-by: mchung, mduigou, rriggs
2014-02-27 02:44:04 +04:00
Vladimir Ivanov
56bce7519d 8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
8033278: Missed access checks for Lookup.unreflect* after 8032585

Reviewed-by: jrose, twisti
2014-02-21 17:12:23 +04:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Rob McKenna
77bcb60eee 7152892: some jtreg tests fail with permission denied
Reviewed-by: coffeys
2014-02-10 14:35:42 +00:00
Xueming Shen
8cdace2575 8032012: String.toLowerCase/toUpperCase performance improvement
Updated the implementation to improve the performance

Reviewed-by: psandoz, forax
2014-02-07 09:04:17 -08:00
Joe Darcy
1c57114347 8033416: Remove sun.misc.FpUtils
Reviewed-by: alanb, bpb, psandoz
2014-02-03 09:52:36 -08:00
Ivan Gerasimov
592907e7f2 8027348: (process) Enhancement of handling async close of ProcessInputStream
Reviewed-by: martin
2014-01-30 00:02:46 +04:00
Jaroslav Bachorik
9e782fae6d 8031701: java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE
Reviewed-by: mchung, dsamersoff
2014-01-29 17:37:40 +01:00
Sunny Chan
9d9bc9f86d 7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
Reviewed-by: sla
2014-01-28 09:33:39 -05:00
Daniel Smith
aa81fd4ead 8032697: Issues with Lambda
Reviewed-by: ahgross, briangoetz, dlsmith, rfield
2014-01-28 17:22:07 -08:00
Vladimir Kozlov
1981dde213 Merge 2014-01-28 14:58:15 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Robert Field
1b02cd3f12 8032711: Issue with Lambda in handling
8032704: Issues with lib perm in Lambda

Reviewed-by: jrose, ahgross, briangoetz
2014-01-28 12:53:56 -08:00
Mandy Chung
1e80ad98e4 6760902: inconsistent behavior in system class loader for classes and resources
Reviewed-by: psandoz, ksrini
2014-01-27 16:22:08 -08:00
Shanliang Jiang
7d09fd8b12 6980984: java/lang/management/MemoryMXBean/MemoryManagement is not robust when getMax() returns -1
Reviewed-by: jbachorik, dfuchs
2014-01-23 15:17:36 +01:00
Jaroslav Bachorik
f0a718ceb0 6309226: TEST: java/lang/management/ThreadMXBean/SynchronizationStatistics.java didn't check Thread.sleep
Reviewed-by: dholmes, mchung
2014-01-23 10:06:52 +01:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Jaroslav Bachorik
ea1c41f454 8032377: test/java/lang/management/ThreadMXBean/ThreadBlockedCount.java still fails intermittently
Reviewed-by: dholmes
2014-01-21 13:04:55 +01:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Erik Joelsson
30bc289192 8030781: System.setProperties(null) drops all system properties (RELEASE not set)
Reviewed-by: alanb
2014-01-08 14:04:35 +01:00
Abhijit Saha
7e9ef6dd1f Merge 2014-01-16 21:44:18 -08:00
Abhijit Saha
a9a038efa7 Merge 2014-01-15 10:09:00 -08:00
Joe Darcy
48ce9464b0 8031651: Remove unneeded -source and -target flags in jdk repo regression tests
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Jaroslav Bachorik
a635170108 8030847: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails intermittently again
Reviewed-by: dholmes, sla, mchung
2014-01-14 13:09:34 +01:00
Chris Hegarty
be247dff24 Merge 2014-01-10 15:04:46 +00:00
Vladimir Kozlov
71ac207668 Merge 2013-12-12 11:04:11 -08:00
Roger Riggs
fa4d687935 8031961: (process) java/lang/ProcessBuilder/Basic.java uses "cp -p" which is inefficient
Replace invocation of /bin/cp with NIO Files.copy

Reviewed-by: martin, alanb
2014-01-16 10:33:07 -05:00
Vladimir Ivanov
3621fb4643 8031502: JSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
Reviewed-by: sundar, lagergren, drchase
2014-01-15 20:48:44 +04:00
Dmitry Nadezhin
a4bef039d5 8030814: Long.parseUnsignedLong should throw exception on too large input
Change test for overflow of unsigned long

Reviewed-by: darcy, psandoz
2014-01-15 10:40:22 -08:00