149 Commits

Author SHA1 Message Date
Igor Ignatyev
32f7e3afd6 8177507: line number sensitive tests for jdi should be unified
Reviewed-by: dholmes, mseledtsov, sspitsyn
2017-04-03 17:07:27 -07:00
Igor Ignatyev
062caf2df9 8176176: fix @modules in jdk_svc tests
Reviewed-by: shurailine, sspitsyn
2017-03-15 22:48:59 -07:00
Christian Tornqvist
68447bd8a3 8172188: JDI tests fail due to "permission denied" when creating temp file
Reviewed-by: hseigel, mseledtsov
2017-01-05 16:46:28 -05:00
Jesper Wilhelmsson
08815157a7 Merge 2016-12-08 15:46:19 +01:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Serguei Spitsyn
145cb85e75 8160024: jdb returns invalid argument count if first parameter to Arrays.asList is null
Adjust com/sun/jdi/MethodImpl.java for null argument

Reviewed-by: dcubed, dsamersoff
2016-11-07 16:14:18 -08:00
David Holmes
de2a8e756b 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:04:36 -04:00
Harold Seigel
89744d775f 8160987: JDWP ClassType.InvokeMethod doesn't validate class
Add code to validate class in JDWP instead of relying on JNI to do the check.

Reviewed-by: dholmes, dcubed, sspitsyn, dsamersoff
2016-09-21 08:10:48 -04:00
Christian Tornqvist
dadb35b482 6648858: InvokeHangTest.java fails due to "failure: Debuggee appears to be hung" when running with -Xcomp
Reviewed-by: zgu, gtriantafill, iignatyev
2016-09-15 16:56:11 -04:00
Severin Gehwolf
320ec03de1 8153711: [REDO] JDWP: Memory Leak: GlobalRefs never deleted when processing invokeMethod command
Delete global references in invoker_completeInvokeRequest()

Reviewed-by: sspitsyn, dsamersoff
2016-03-21 11:24:09 +01:00
Egor Ushakov
86762c9fff 6822627: NPE at ReferenceTypeImpl.constantPool
Fix the NullPointerException bug

Reviewed-by: sspitsyn, dsamersoff
2016-09-06 20:27:47 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Staffan Larsen
a283244f86 8164012: com/sun/jdi/CatchPatternTest.sh fails on jdk9/hs with Required output "Exception occurred: java.lang.IllegalMonitorStateException" not found
Change test so that irrelevant exceptions do not interfere

Reviewed-by: dholmes, dsamersoff
2016-08-16 09:57:50 +02:00
George Triantafillou
73837a5f34 8160833: ClassesByName2Test.java and RedefineCrossEvent.java failing with jtreg tip
Reviewed-by: dholmes, ctornqvi
2016-08-15 15:35:27 -04: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
Coleen Phillimore
0d886c8179 8158237: JVMTI hides critical debug information for memory leak tracing
Remove _backtrace as hidden field, original problem no longer exists

Reviewed-by: sspitsyn, jiangli
2016-06-13 09:03:32 -04:00
Staffan Larsen
847a2d2de1 8157555: com/sun/jdi/RedefineClearBreakpoint.sh times out due to Indify String Concat being slow in debug mode
Reviewed-by: sspitsyn
2016-05-24 08:53:54 +02:00
Alexander Scherbatiy
39fe334e12 8154539: Examine the desktop module's use of sun.misc.SoftCache
Reviewed-by: prr, chegar, mchung
2016-05-12 20:43:37 +04:00
Daniel D. Daugherty
451af9b1b2 Merge 2016-04-14 15:25:41 -07:00
Dmitry Samersoff
17344961d2 8153856: com/sun/jdi/WatchFramePop.sh fails with exit code 1
Fixed sed expression in a test

Reviewed-by: sla
2016-04-13 12:10:42 +03:00
Alejandro Murillo
b84738d2e3 Merge 2016-04-11 14:21:27 -07:00
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Daniel D. Daugherty
fc0df88104 Merge 2016-04-06 15:48:55 -07:00
Daniel D. Daugherty
4de86a31a6 8153673: [BACKOUT] JDWP: Memory Leak: GlobalRefs never deleted when processing invokeMethod command
Reviewed-by: jwilhelm, sspitsyn
2016-04-06 15:16:55 -07:00
Alexander Kulyakhtin
d3b1596a8b 8153584: New jtreg test to verify PathSearchingVirutalMachine.bootClassPath() behaviour
Adding a new jtreg test

Reviewed-by: dsamersoff
2016-04-06 13:47:18 +03:00
Jesper Wilhelmsson
d9415fe792 Merge 2016-03-23 20:14:36 +01:00
Serguei Spitsyn
635b3f6584 Merge 2016-03-22 21:27:55 +00:00
Staffan Larsen
304d3c93fd 7153107: com/sun/jdi/InterruptHangTest.java fails in nightlies
Increased timeouts and added timestamped logging

Reviewed-by: sspitsyn
2016-03-22 19:29:27 +01:00
Staffan Larsen
c5f2279354 8151887: com/sun/jdi/RedefineClearBreakpoint.sh failed with timeout
Take timeout factor into account

Reviewed-by: dsamersoff
2016-03-22 19:29:25 +01:00
Chris Hegarty
a59bc4455b Merge 2016-03-22 16:02:25 +00:00
Severin Gehwolf
4e7c41b940 4858370: JDWP: Memory Leak: GlobalRefs never deleted when processing invokeMethod command
Delete global references in invoker_completeInvokeRequest()

Reviewed-by: sspitsyn
2016-03-21 11:24:09 +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
Sharath Ballal
e583f827a8 8147456: Parsing of argument for -agentpath can write outside of allocated memory
Reviewed-by: sspitsyn, dholmes
2016-03-07 20:59:35 +03: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