8243437: use reproducible random in :vmTestbase_nsk_jdi

Reviewed-by: sspitsyn, cjplummer
This commit is contained in:
Igor Ignatyev 2020-05-01 16:21:20 -07:00
parent a777dcff82
commit 56fcd54843
31 changed files with 62 additions and 36 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ClassObjectReference/reflectedType/reflectype002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ClassUnloadEvent/className/classname001.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ClassUnloadEvent/classSignature/signature001.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ClassUnloadRequest/addClassExclusionFilter/exclfilter001.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ClassUnloadRequest/addClassFilter/filter001.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -23,6 +23,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ObjectReference/referringObjects/referringObjects002.
* VM Testbase keywords: [quick, jpda, jdi, feature_jdk6_jpda, vm6]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/allFields/allfields003.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/allMethods/allmethods003.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/classObject/classobj002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/equals/equals002.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/failedToInitialize/failedtoinit002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/fieldByName/fieldbyname003.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/fields/fields003.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/hashCode/hashcode002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/isAbstract/isabstract002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/isInitialized/isinit002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/isPrepared/isprepared002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/isVerified/isverified002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/methods/methods003.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/methodsByName_s/methbyname_s003.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/methodsByName_ss/methbyname_ss003.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/name/name002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/sourceName/sourcename002.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/visibleFields/visibfield003.
* VM Testbase keywords: [jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/ReferenceType/visibleMethods/visibmethod003.
* VM Testbase keywords: [diehard, jpda, jdi, nonconcurrent]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -23,6 +23,7 @@
/*
* @test
* @key randomness
*
* @summary converted from VM Testbase nsk/jdi/VirtualMachine/instanceCounts/instancecounts003.
* VM Testbase keywords: [quick, jpda, jdi, feature_jdk6_jpda, vm6]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,7 +24,7 @@
/*
* @test
* @key stress
* @key stress randomness
*
* @summary converted from VM Testbase nsk/jdi/stress/serial/forceEarlyReturn002.
* VM Testbase keywords: [stress, quick, jpda, jdi, feature_jdk6_jpda, vm6]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,7 +24,7 @@
/*
* @test
* @key stress
* @key stress randomness
*
* @summary converted from VM Testbase nsk/jdi/stress/serial/heapwalking002.
* VM Testbase keywords: [stress, jpda, jdi, feature_jdk6_jpda, vm6]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -25,7 +25,7 @@
/*
* @test
* @modules jdk.jdi/com.sun.tools.jdi:+open
* @key stress
* @key stress randomness
*
* @summary converted from VM Testbase nsk/jdi/stress/serial/mixed002.
* VM Testbase keywords: [stress, jpda, jdi, feature_jdk6_jpda, vm6]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -25,7 +25,7 @@
/*
* @test
* @modules jdk.jdi/com.sun.tools.jdi:+open
* @key stress
* @key stress randomness
*
* @summary converted from VM Testbase nsk/jdi/stress/serial/monitorEvents002.
* VM Testbase keywords: [stress, quick, jpda, jdi, feature_jdk6_jpda, vm6]

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,7 +24,7 @@
/*
* @test
* @key stress
* @key stress randomness
*
* @summary converted from VM Testbase nsk/jdi/stress/serial/ownedMonitorsAndFrames002.
* VM Testbase keywords: [stress, quick, jpda, jdi, feature_jdk6_jpda, vm6]