127 Commits

Author SHA1 Message Date
Katja Kantserova
fb6b965e86 6542634: TEST BUG: MISC_REGRESSION tests need to have minimum timeouts examined
Reviewed-by: sla, jbachorik, egahlin
2014-11-18 16:20:16 +01: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
Katja Kantserova
2905bd08a6 8056994: sun/tools/jstatd/TestJstatdPortAndServer.java and sun/tools/jstatd/TestJstatdServer.java miss correct check of RMI server availability
Reviewed-by: jbachorik, dsamersoff
2014-09-02 11:05:41 +02:00
Katja Kantserova
107a5ada42 8054278: Refactor jps utility tests
Reviewed-by: jbachorik
2014-08-15 12:28:58 +02:00
Jaroslav Bachorik
e614cf24ef 8048193: [tests] Replace JPS and stdout based PID retrieval by Process.getPid()
Reviewed-by: sla
2014-07-01 15:00:33 +02:00
Katja Kantserova
12e0fea90c 6545295: TEST BUG: The test HatHeapDump1Test uses wrong path in exec call
Reviewed-by: sla
2014-06-16 11:03:54 +02:00
Mattias Tobiasson
2e06869b6f 8036006: [TESTBUG] sun/tools/native2ascii/NativeErrors.java fails: Process exit code was 0, but error was expected
Ignore read-only test if file is not read-only. This will happen when test is run as root.

Reviewed-by: sla, dholmes
2014-06-04 13:12:16 +02:00
Athijegannathan Sundararajan
fba8040fb3 8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output
Reviewed-by: jlaskey, lagergren, ksrini
2014-06-03 21:21:32 +05:30
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
Staffan Larsen
9e710c30f7 8043551: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build
Add -XX:+UsePerfData to the test

Reviewed-by: dholmes
2014-05-21 10:22:20 +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
Jaroslav Bachorik
cb5eb6cd31 8039080: "jinfo server_id@host" fails with "Invalid process identifier"
Reviewed-by: sla, sjiang, dsamersoff
2014-04-17 18:20:31 +02:00
Katja Kantserova
60249f90a2 8031766: jstatd nightly tests failing with Expected one jstatd process, got 2. Test will be canceled
Reviewed-by: jbachorik, sla
2014-04-07 16:13:43 +02:00
Staffan Larsen
5deaaa84e9 8037225: sun/tools/jinfo/Basic.sh fails
Reviewed-by: alanb
2014-03-21 14:45:54 +01:00
Staffan Larsen
5a678f7c26 8036599: Use Diagnostic Commands instead of SA by default in jinfo
Reviewed-by: alanb
2014-03-05 20:03:32 +01:00
Jaroslav Bachorik
e2ab209b12 8035668: [test] Check that jstat does not cause problems when monitored application exits before jstat finishes its work
Reviewed-by: sla
2014-02-28 15:39:15 +01: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
Mattias Tobiasson
40041ce438 6545422: [TESTBUG] NativeErrors.java uses wrong path name in exec
Uses common testlibrary to find executable. Removed NullPointerExceptions. Log more.

Reviewed-by: sla
2014-01-21 15:17:57 +01:00
Michael Cui
dca4d10631 8028711: TEST_BUG: Shell tests should pass through VM options
Reviewed-by: alanb
2014-02-13 15:59:04 +00:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Mattias Tobiasson
dc4d716d02 6545321: [TESTBUG] jstatLineCounts4.sh has to be resilient to unexpected output
Keep check for specific lines. Remove check for total number of lines.

Reviewed-by: sla
2014-01-21 08:36:12 +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
Katja Kantserova
fe3d3df23f 7185591: jcmd-big-script.sh ERROR: could not find app's Java pid
Reviewed-by: egahlin, sla, jbachorik
2014-01-16 11:37:49 +01:00
Katja Kantserova
7175e6fe70 6380601: MISC_REGRESSION tests need to be more resilient to ps cmd problems
Reviewed-by: sla, alanb, jbachorik
2014-01-14 11:08:33 +01:00
Mattias Tobiasson
7d90d5b2de 6461635: [TESTBUG] BasicTests.sh test fails intermittently
Transform dummy class instead of BigInteger to avoid complication by -Xshare. Ported from script to java.

Reviewed-by: alanb
2013-12-03 17:06:23 +01:00
Katja Kantserova
d876d630e3 8027752: sun/tools/jstatd/TestJstatdExternalRegistry.java: java.lang.SecurityException: attempt to add a Permission to a readonly Permissions object
Reviewed-by: sla, jbachorik
2013-11-07 16:55:39 +01:00
Katja Kantserova
d699dc7582 8022229: Intermittent test failures in sun/tools/jstatd
Reviewed-by: sla, egahlin, jbachorik, allwin
2013-10-30 13:44:40 +01:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Staffan Larsen
4230c58678 8025427: jstat tests fails on 32-bit platforms
Reviewed-by: ehelin, dsamersoff, dholmes, sspitsyn
2013-10-10 09:38:06 +02:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Erik Helin
ef64db06e2 8014659: NPG: performance counters for compressed klass space
Reviewed-by: jmasa, sla
2013-08-29 11:08:42 +02:00
Erik Gahlin
f4dda09731 7172176: java/jconsole test/sun/tools/jconsole/ImmutableResourceTest.sh failing
Reviewed-by: mchung, mfang
2013-09-02 16:03:34 +02:00
Alan Bateman
6084db7277 8019384: jps and jcmd tests fail when there is a process started with a .war file
Reviewed-by: dcubed, sla, mchung
2013-06-28 19:45:06 +01:00
Staffan Larsen
dafdd3677f 8004007: test/sun/tools/jinfo/Basic.sh fails on when runSA is set to true
Reviewed-by: alanb, dsamersoff
2013-05-07 20:00:47 +02:00
Robert Field
47686a92e0 8011805: Update sun.tools.java class file reading/writing support to include the new constant pool entries
Reviewed-by: mduigou, alanb
2013-04-12 10:02:33 -07:00
Erik Helin
1c46d9bac2 8004172: Update jstat counter names to reflect metaspace changes
Reviewed-by: mchung
2013-03-22 15:01:24 +01:00
Athijegannathan Sundararajan
6715b64842 8009140: jtreg tests under sun/tools/jrunscript should use nashorn engine
Reviewed-by: alanb
2013-02-27 20:34:12 +05:30
Lana Steuck
b7af263526 Merge 2012-12-28 18:36:41 -08:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Alexey Utkin
c5c34df7bf 8004928: TEST_BUG: Reduce dependence of CoreLib tests from the AWT subsystem
The tests were refactored to drop AWT dependence where it was possible.

Reviewed-by: alanb, mchung
2012-12-17 14:34:37 +04:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Staffan Larsen
dc9bf2de74 8001621: Update awk scripts that check output from jps/jcmd
Reviewed-by: alanb
2012-10-29 09:23:55 +01:00
Staffan Larsen
330ba0e873 6963102: Testcase failures sun/tools/jstatd/jstatdExternalRegistry.sh and sun/tools/jstatd/jstatdDefaults.sh
Make tests more resilient by allowing for more error messages from jps

Reviewed-by: alanb, rbackman, dsamersoff
2012-09-05 14:42:44 +02:00
Jonathan Gibbons
3edec130c3 7194035: update tests for upcoming changes for jtreg
Reviewed-by: alanb, sspitsyn
2012-08-28 10:31:27 +01:00
Dmitry Samersoff
12ab6cc327 7183753: [TEST] Some colon in the diff for this test
Reference output file contains extra colon

Reviewed-by: sspitsyn, mgronlun
2012-08-09 14:52:12 +04:00
Xueming Shen
57b8661095 7175845: jar uf changes file permissions unexpectedly
7177216: native2ascii changes file permissions of input file

Undo the File.createTempFile change in jar and native2ascii

Reviewed-by: asaha
2012-06-28 22:44:21 -07:00
Alan Bateman
881d64f005 7175775: Disable SA options in jinfo/Basic.java test until SA updated for new hash and String count/offset
Reviewed-by: minqi
2012-06-10 10:29:27 +01:00
Lana Steuck
d4fc10af1d Merge 2012-04-11 18:52:45 -07:00
David Buck
ecc9a141a1 7154822: forward port fix for Bug 13645891 to JDK8 jcmd (1024 byte file size limit issue)
Changed so that jcmd breaks input into individual lines and sends each one to the jvm separately.

Reviewed-by: dcubed, sla
2012-03-30 10:18:04 -07:00