117 Commits

Author SHA1 Message Date
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
Andreas Eriksson
832b46f2fa 8151064: com/sun/jdi/RedefineAddPrivateMethod.sh fails intermittently
Reviewed-by: dsamersoff, sspitsyn
2016-03-03 18:05:48 +01:00
Markus Grönlund
41988936d3 8151053: com/sun/jdi/StepTest.java fails in 2016-03-01 JDK9-hs-rt nightly
Reviewed-by: dcubed, egahlin
2016-03-02 21:39:03 +01:00
Andreas Eriksson
3a1062775a 8149743: JVM crash after debugger hotswap with lambdas
Reviewed-by: sspitsyn, coleenp, dcubed
2016-02-18 16:15:15 +01: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
Alexander Kulyakhtin
c0cbd031f0 8145408: com/sun/jdi/BreakpointWithFullGC.sh Required output "Full GC" not found
Modified the test so it correctly parses the new debug output

Reviewed-by: jbachorik
2015-12-16 19:59:23 +03:00
Jaroslav Bachorik
e12241b613 8144308: com/sun/jdi/SuspendThreadTest.java failed with "transport error 202: send failed: Broken pipe"
Reviewed-by: sla
2015-12-07 12:31:25 +01:00
Amy Lu
dad26e258c 8143583: Several tests don't work with latest jtreg due to non-existing files in @build
Reviewed-by: alanb, sla
2015-11-23 16:14:33 +08: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
Chris Plummer
b95fa126c3 8129386: [TESTBUG] - com/sun/jdi/cds/*.java missing @build tag for libraries
Added @build tags for all dependent classes

Reviewed-by: iklam, mseledtsov, dholmes
2015-06-24 11:59:11 -07:00
Chris Plummer
4ba69287b6 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:38:13 -07:00
Staffan Larsen
9cc4a70ee9 8081470: com/sun/jdi tests are failing with "Error. failed to clean up files after test" with jtreg 4.1 b12
Reviewed-by: mgerdin, brutisso, iignatyev
2015-05-29 11:05:52 +02:00
Harold Seigel
0798e0a659 8080048: Test jdk/test/com/sun/jdi/NoLaunchOptionTest.java was merged incorrectly
Add correct @library and @build tags

Reviewed-by: ctornqvi, gtriantafill
2015-05-12 13:57:46 -04:00
Harold Seigel
9e951d1747 Merge 2015-05-09 07:35:16 -04:00
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04:00
Katja Kantserova
97fbf6418d 6755586: Test com/sun/jdi/NoLaunchOptionTest.java may erroneously fail
Reviewed-by: sla, dsamersoff
2015-05-08 09:14:18 +02: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
Katja Kantserova
a5bea1d744 8076998: BadHandshakeTest.java fails due to warnings in output
Reviewed-by: sla
2015-05-05 20:09:52 +02:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Dmitry Samersoff
cf33d5c103 8074146: jdb has succeded to read an unreadable file
Remove this testcase

Reviewed-by: sla, egahlin
2015-04-20 11:03:47 -07:00
Staffan Larsen
6cbdf1b8f4 8075331: jdb eval java.util.Arrays.asList(array) shows inconsistent behaviour
Reviewed-by: jbachorik
2015-04-09 08:46:19 +02:00
Fredrik Arvidsson
eecde5f24c 8076154: com/sun/jdi/InstanceFilter.java failing due to missing MethodEntryRequest calls
Some jdi tests are failing due to missing MethodEntryRequest events during the test execution.

Reviewed-by: sla, jbachorik
2015-03-30 10:10:19 +02:00
Katja Kantserova
20be94ae55 8073794: jdk/test/com/sun/jdi/BadHandshakeTest.java should retry if tcp port is taken
Reviewed-by: jbachorik
2015-03-16 09:32:34 +01:00
Igor Ignatyev
5a48602086 Merge 2015-03-10 21:58:55 +00:00
Alexander Kulyakhtin
d24e1db13a 8072754: com/sun/jdi/NativeInstanceFilter.java requires adjustments to work with module boundaries
The tests uses sun.misc.Version to check if the JVM version is greater than a certain version. For the JDK 9 the condition is always true and the usage of sun.misc.Version thus can be eliminated.

Reviewed-by: alanb, sla
2015-03-11 00:45:02 +03:00
Jaroslav Bachorik
996a61cf68 8049696: com/sun/jdi/RunToExit fails with "ConnectException: Connection refused"
Reviewed-by: sla
2015-03-10 20:25:48 +01:00
Jaroslav Bachorik
41d784d98e 8071657: JDI ObjectReferenceImpl.invokeMethod() validation fails for virtual invocations of method with declaring type being an interface
Reviewed-by: sspitsyn, sla
2015-02-18 17:50:41 +01:00
Alexander Kulyakthin
5eb21ad94f 8071464: Clear up SVC jdk/test/* JRE layout dependencies other than those on tools.jar
Reviewed-by: sla
2015-02-02 09:37:53 +01:00
Mattias Tobiasson
04474d85c1 8044419: TEST_BUG: com/sun/jdi/JdbReadTwiceTest.sh fails when run under root
Reviewed-by: dsamersoff, sla
2015-01-26 08:52:46 +01: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
Sergei Kovalev
8b8a9d5f94 8060707: jdwp accept invalid address ':'
Reviewed-by: jbachorik, dsamersoff, iignatyev, miauno
2014-10-29 17:53:36 +03:00
Fredrik Arvidsson
f590301559 8059105: Add better failure reporting to com/sun/jdi/RunToExit.java test
Add better failure reporting to com/sun/jdi/RunToExit.java test

Reviewed-by: sla, egahlin, jbachorik
2014-09-29 10:01:17 +02:00
Dmitry Samersoff
3e3dcfb635 8054066: com/sun/jdi/DoubleAgentTest.java fails with timeout
The test chaged to use testlibrary

Reviewed-by: sla
2014-08-28 05:04:58 -07:00
Staffan Larsen
657f94c1e5 8055673: test/com/sun/jdi/ShellScaffold.sh does not honor -javaoption
Reviewed-by: jbachorik
2014-08-20 16:10:13 +02:00
Jaroslav Bachorik
924b9f9fde 8049194: com/sun/tools/attach/StartManagementAgent.java start failing after JDK-8048193
Reviewed-by: dfuchs, egahlin, olagneau
2014-07-25 15:07:49 +02:00
Staffan Larsen
0139a3b9e7 8046883: com/sun/jdi/ProcessAttachTest.sh gets "java.io.IOException: Invalid process identifier" on windows
Reviewed-by: dcubed, dsamersoff, allwin
2014-07-02 08:41:59 +02:00
Katja Kantserova
f377795d11 8048892: TEST_BUG: shell script tests need to be change to not use retired @debuggeeVMOptions mechanism
Reviewed-by: sla, jbachorik
2014-07-01 21:23:54 +02:00
Staffan Larsen
4b31ce4a17 8048687: [TESTBUG] com/sun/jdi/ExclusiveBind.java "Could not find or load main class"
Reviewed-by: jbachorik, egahlin, dholmes
2014-07-01 10:40:14 +02:00
Staffan Larsen
9158c1d9b6 6622468: TEST_BUG: Time to retire the @debuggeeVMOptions mechanism used in the com.sun.jdi infrastructure
Use jtreg "@run driver" for the JDI tests

Reviewed-by: sspitsyn, dholmes
2014-06-17 10:01:16 +02:00
Dmitry Samersoff
c82d0f2418 8043716: JDI test com/sun/jdi/ProcessAttachTest.sh and other 3 jdi tests failed in nightly
InetAddress.getLocalHost() returns configured host name instead of localhost.

Reviewed-by: dcubed
2014-05-22 13:03:10 -07: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
Dmitry Samersoff
878ab77469 8041435: Make JDWP socket connector accept only local connections by default
Bind to localhost only if no address specified. Require * to bind to all available addresses

Reviewed-by: dcubed, sspitsyn
2014-05-20 06:11:05 -07:00
Jaroslav Bachorik
c1922ce784 8042123: Support default and static interface methods in JDI, JDWP and JDB
Reviewed-by: sla, sspitsyn
2014-04-30 11:28:05 +02:00
Staffan Larsen
6ca57a22ca 8038963: com/sun/jdi tests fail because cygwin's ps sometimes misses processes
Reviewed-by: dcubed, jbachorik
2014-04-02 12:03:25 +02:00
Shanliang Jiang
f963ced878 6815126: intermittent SimulResumerTest.java failure
Reviewed-by: jbachorik, sla
2014-04-08 17:36:13 +02:00
Staffan Larsen
e7aed74165 8037345: com/sun/jdi/* tests can fail, with race condition on log files
Reviewed-by: sspitsyn, dcubed
2014-03-31 11:28:03 +02:00
Staffan Larsen
70af1402f4 8036132: Tab characters in test/com/sun/jdi files
Reviewed-by: alanb, mikael
2014-03-05 16:55:38 +01:00