Commit Graph

67 Commits

Author SHA1 Message Date
Severin Gehwolf 74726e3e3a 8059038: Create new launcher for SA tools
Create separate launchers for clhsdb and hsdb since JDK 8 uses separate launchers for SA tools

Reviewed-by: kevinw, andrew
2018-11-20 17:45:54 +01:00
Ivan Gerasimov 8f78d59a0a 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2017-09-01 10:16:09 -07:00
Ivan Gerasimov 216d08847f 8067964: Native2ascii doesn't close one of the streams it opens
Change sun.tools.native2ascii.Main.convert() to use try-with-resources; also clean up code formatting.

Reviewed-by: chegar
2016-07-11 22:31:43 +03:00
Evgeniya Stepanova 11601f4548 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
Reviewed-by: brutisso, dholmes
2014-11-19 17:51:06 +03:00
Katja Kantserova 249a33340b 8054278: Refactor jps utility tests
Reviewed-by: jbachorik
2016-02-26 18:30:22 +03:00
Alexander Vorobyev 8a0987274d 7185591: jcmd-big-script.sh ERROR: could not find app's Java pid
Reviewed-by: coffeys
2016-02-25 16:07:30 +03:00
Mattias Tobiasson 28b7adcbc2 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
2016-01-29 19:45:16 +03:00
Athijegannathan Sundararajan f6ca61c01f 8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output
Reviewed-by: jlaskey, lagergren, ksrini
2014-09-10 17:11:27 +05:30
Mattias Tobiasson d0c66acb5c 6545422: [TESTBUG] NativeErrors.java uses wrong path name in exec
Uses common testlibrary to find executable. Removed NullPointerExceptions. Log more.

Reviewed-by: sla
2014-07-07 16:55:22 +04:00
Katja Kantserova d290b87de6 8031766: jstatd nightly tests failing with Expected one jstatd process, got 2. Test will be canceled
Reviewed-by: jbachorik, sla
2014-05-26 11:10:20 +02:00
Yekaterina Kantserova 97e991f4d6 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, jbachorik
2014-05-22 11:23:46 +02:00
Vladimir Kozlov f6926a9870 Merge 2014-01-22 17:40:55 -08:00
Volker Simonis eb1ee0c0e8 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
Lana Steuck 03b4e5d3ba 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 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
Staffan Larsen 0041a04fb2 7154114: jstat tests failing on non-english locales
7154113: jcmd, jps and jstat tests failing when there are unknown Java processes on the system

Reviewed-by: rbackman, kamg, dsamersoff
2012-03-20 12:48:48 +01:00
Alan Bateman 3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Frederic Parain ddaeb8933c 7144833: sun/tools/jcmd/jcmd-Defaults.sh failing intermittently
Reviewed-by: alanb
2012-02-15 09:29:05 -08:00
Frederic Parain 52739303db 7140868: TEST_BUG: jcmd tests need to use -XX:+UsePerfData
Reviewed-by: fparain, dholmes
2012-02-14 07:28:29 -08:00
Frederic Parain d1c86caeaa 7104647: Adding a diagnostic command framework
Reviewed-by: mchung, dholmes
2012-01-04 03:49:35 -08:00
Lana Steuck 9fb09f41b6 Merge 2011-11-14 18:18:22 -08:00
Abhijit Saha f03cbcc678 Merge 2011-11-14 11:52:09 -08:00
Weijun Wang 3cd4eaa1f0 7104161: test/sun/tools/jinfo/Basic.sh fails on Ubuntu
Reviewed-by: alanb
2011-10-27 17:23:25 +08:00
Stuart Marks 6f12fe9039 7092186: adjust package access in rmiregistry
Reviewed-by: asaha, coffeys
2011-09-21 15:37:52 -07:00
David Holmes d9b7e6c18c 7012206: ~20 tools tests failing due to -XX:-UsePerfData default in Java SE Embedded
Explicitly enable UsePerfData for the tools that require it to be enabled

Reviewed-by: alanb, ohair
2011-09-20 22:20:05 -04:00