57 Commits

Author SHA1 Message Date
Daniel Fuchs
9f9a6ec666 8173607: JMX RMI connector should be in its own module
The JMX RMI connector is moved to a new java.management.rmi module.

Reviewed-by: mchung, erikj
2017-02-02 16:50:46 +00:00
Mandy Chung
7e2dd137c3 8173608: Separate JDK management agent from java.management module
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:32 -08:00
Mandy Chung
9ca506bd0d 8171468: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails as lib/$ARCH no longer exists
Reviewed-by: alanb, redestad
2016-12-19 13:50:29 -08:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Alan Bateman
4af24b6def 8153370: Drop use of old style -XaddExports from tests
Reviewed-by: mchung
2016-04-05 21:18:01 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Jaroslav Bachorik
ee5b325911 8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
Reviewed-by: dfuchs
2015-12-28 12:16:09 +01:00
Jaroslav Bachorik
ca14c9d5c5 8146015: JMXInterfaceBindingTest is failing intermittently for IPv6 addresses
Reviewed-by: dfuchs, sspitsyn
2016-01-14 09:49:42 +01:00
Jaroslav Bachorik
27368685db 8145982: JMXInterfaceBindingTest is failing intermittently
Reviewed-by: chegar, sgehwolf, olagneau
2016-01-04 10:07:08 +01:00
Severin Gehwolf
b8c892909b 6425769: Allow specifying an address to bind JMX remote connector
Reviewed-by: jbachorik, dfuchs
2015-12-18 08:30:26 +01:00
Jaroslav Bachorik
64e85130bb 8138579: Custom launcher fails to start because of permission problem
Reviewed-by: sspitsyn, dsamersoff
2015-10-08 09:40:31 +02: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
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
Artem Smotrakov
40f869686c 8081386: Test sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh test has RC4 dependencies
Reviewed-by: coffeys, olagneau
2015-06-01 14:59:20 +03:00
Katja Kantserova
a977dfe41f 8085973: The targeted processes in javax/management tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 15:27:37 +02:00
Jaroslav Bachorik
ffe4b47d20 8075926: Add a sun.management.JMXConnectorServer perf counter to track its state
Reviewed-by: duke
2015-04-03 15:39:38 +02:00
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04: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
Jaroslav Bachorik
08231934c1 8072906: sun/management/jmxremote/bootstrap/CustomLauncherTest.java failing on embedded platform
Reviewed-by: sspitsyn, dholmes
2015-04-30 16:44:39 +02:00
Jaroslav Bachorik
883ba19236 8077402: JMXStartStopTest fails intermittently on slow hosts
Reviewed-by: sla, dholmes
2015-04-27 10:12:56 +02:00
Joe Darcy
19b0ecc5d4 8077952: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh should be quarantined
Reviewed-by: jbachorik
2015-04-20 10:37:41 -07:00
Alexander Kulyakthin
167de7ae02 8067945: SVC jdk/test/* should be cleaned from JRE layout dependency
Reviewed-by: sla
2015-01-23 14:20:52 +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
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
Jaroslav Bachorik
c3ba2ec46d 8040692: [TESTBUG] sun/management/jmxremote/bootstrap/JvmstatCountersTest.java requires -XX:+UsePerfData option to pass on embedded platforms
Reviewed-by: sla
2014-08-21 14:36:49 +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
Staffan Larsen
855f7c421e 8044135: Add API to start JMX agent from attach framework
Reviewed-by: alanb
2014-06-11 15:47:53 +02: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
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
Staffan Larsen
ee21184b17 7195249: Some jtreg tests use hard coded ports
Use Utils.getFreePort() and launch the tests by java code

Reviewed-by: jbachorik, sla
2014-02-28 12:57:35 +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
Jaroslav Bachorik
6005bfb33e 8033787: [TESTBUG] Few jdk regression management tests should be improved with -XX:+UsePerfData usage
Reviewed-by: dholmes
2014-02-21 12:31:29 +01:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Ivan Gerasimov
4339b3b54f 8025886: replace [[ and == bash extensions in regtest
Reviewed-by: dsamersoff, sla
2014-01-20 19:23:22 +04: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
Jaroslav Bachorik
a923f5c5d3 8031420: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails on some platforms: Unable to locate 'libjvm.so'
Reviewed-by: sla, chegar, sjiang
2014-01-10 08:22:00 +01:00
Jaroslav Bachorik
b7f68c381a 8029809: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails intermittently with "Operation not permitted"
Reviewed-by: sla
2013-12-18 11:00:48 +01:00
Roger Riggs
ce59b012f7 8028141: test/sun/management/jmxremote/bootstrap/LocalManagementTest|CustomLauncherTest.java failing again
Correct to use the test.class.path instead of test.classes

Reviewed-by: alanb, chegar
2013-11-19 13:20:07 -05:00
Jaroslav Bachorik
e72d357292 8027163: sun/management/jmxremote/bootstrap/CustomLauncherTest.java should be updated for jdk8 removal of solaris-32bit support
Reviewed-by: sla
2013-11-18 15:25:15 +01:00
Katja Kantserova
17e4152715 8015497: Take new fixes from hotspot/test/testlibrary to jdk/test/lib/testlibrary
Reviewed-by: sla
2013-11-13 11:46:05 +01:00
Jaroslav Bachorik
f05950c786 8027058: sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh Failed to initialize connector
Dynamically discover the first available port instead of hard-coding one

Reviewed-by: sla, chegar, dfuchs
2013-10-30 14:50:46 +01:00
Jaroslav Bachorik
094e46c9d7 8027358: sun/management/jmxremote/bootstrap/LocalManagementTest.java failing since JDK-8004926
Reviewed-by: alanb, egahlin
2013-10-29 21:49:46 +01:00
Jaroslav Bachorik
b441547010 8004926: sun/management/jmxremote/bootstrap/CustomLauncherTest.sh oftenly times out
Improve reliability by converting the test to Java

Reviewed-by: dsamersoff, dholmes
2013-10-25 13:01:11 +02:00
Jaroslav Bachorik
c3a2245bba 6804470: JvmstatCountersTest.java test times out on slower machines
Increasing the default timeout to cater for the slower machines

Reviewed-by: alanb
2013-10-15 10:26:34 +02:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00