Commit Graph

50 Commits

Author SHA1 Message Date
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Kevin Walls
59407faf7b 8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Reviewed-by: lmesnik, cjplummer
2024-09-16 18:24:47 +00:00
Kevin Walls
687601ebca 8336257: Additional tests in jmxremote/startstop to match on PID not app name
Reviewed-by: cjplummer, alanb, amenkov, dcubed
2024-07-11 20:45:34 +00:00
Kevin Walls
b7d0eff5ad 8207908: JMXStatusTest.java fails assertion intermittently
Reviewed-by: cjplummer, amenkov
2024-07-11 07:29:37 +00:00
Kevin Walls
bcf4bb4882 8333344: JMX attaching of Subject does not work when security manager not allowed
Reviewed-by: weijun, dfuchs
2024-06-19 16:35:20 +00:00
Jaikiran Pai
a85c8493ae 8328273: sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java failed with java.rmi.server.ExportException: Port already in use
Reviewed-by: dcubed
2024-04-02 01:14:35 +00:00
Kevin Walls
2af0312c95 8328619: sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java failed with BindException: Address already in use
Reviewed-by: lmesnik, dfuchs
2024-03-28 11:34:44 +00:00
Weijun Wang
d32746ef4a 8296244: Alternate implementation of user-based authorization Subject APIs that doesn’t depend on Security Manager APIs
Reviewed-by: mullan
2024-03-20 21:25:41 +00:00
Magnus Ihse Bursie
5c5a282f91 8325950: Make sure all files in the JDK pass jcheck
Reviewed-by: prr, wetmore, erikj, naoto
2024-02-19 16:13:34 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Leonid Mesnik
053f45695f 8316447: 8 sun/management/jmxremote tests ignore VM flags
Reviewed-by: kevinw, sspitsyn
2023-10-09 23:10:29 +00:00
Leonid Mesnik
5b311f20df 8316446: 4 sun/management/jdp tests ignore VM flags
Reviewed-by: cjplummer, kevinw
2023-10-09 23:09:39 +00:00
Kimura Yukihiro
49b29845f7 8313854: Some tests in serviceability area fail on localized Windows platform
Reviewed-by: amenkov, cjplummer
2023-08-14 18:26:55 +00:00
Sergey Bylokhov
a43931b79c 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Reviewed-by: dholmes
2023-02-26 23:36:59 +00:00
Xue-Lei Andrew Fan
9c4bc2c395 8301132: Test update for deprecated sprintf in Xcode 14
Reviewed-by: mikael
2023-01-27 19:01:01 +00:00
Magnus Ihse Bursie
4073b68565 8298047: Remove all non-significant trailing whitespace from properties files
Reviewed-by: serb, rriggs
2023-01-16 18:53:54 +00:00
Michael Ernst
7dcc689932 8299563: Fix typos
Reviewed-by: lancea, aivanov, sspitsyn
2023-01-04 19:59:45 +00:00
Bill Huang
cc8bf95046 8296718: Refactor bootstrap Test Common Functionalities to test/lib/Utils
Reviewed-by: sspitsyn, kevinw
2022-11-09 19:02:50 +00:00
Jaikiran Pai
8b010e014c 8030616: sun/management/jmxremote/bootstrap/RmiBootstrapTest fails intermittently with cannot find a free port
Reviewed-by: sspitsyn, msheppar
2022-10-21 08:29:09 +00:00
Jaikiran Pai
f6d78cda85 8293657: sun/management/jmxremote/bootstrap/RmiBootstrapTest.java#id1 failed with "SSLHandshakeException: Remote host terminated the handshake"
Reviewed-by: kevinw, dfuchs
2022-09-23 04:54:39 +00:00
Bill Huang
91c9091d7e 8293343: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java failed with "Agent communication error: java.io.EOFException"
8293335: sun/management/jmxremote/bootstrap/RmiBootstrapTest.java#id1failed with "Agent communication error: java.io.EOFException"

Reviewed-by: kevinw, cjplummer
2022-09-12 13:07:34 +00:00
Bill Huang
3993a1f9ea 8292067: Convert test/sun/management/jmxremote/bootstrap shell tests to java version
Reviewed-by: lmesnik
2022-09-02 18:10:56 +00:00
Kevin Walls
37fc77ef60 8283092: JMX subclass permission check redundant with strong encapsulation
Reviewed-by: dfuchs, mchung
2022-03-22 07:54:41 +00:00
Kevin Walls
8a662105c2 6779701: Wrong defect ID in the code of test LocalRMIServerSocketFactoryTest.java
Reviewed-by: cjplummer, dfuchs
2022-02-07 18:16:23 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Leonid Mesnik
bac2e7fcad 8242328: Update mentions of ThreadMBean to ThreadMXBean
Reviewed-by: dholmes, iignatyev, sspitsyn
2020-06-12 14:33:55 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Alexander Scherbatiy
cd7d175001 8240604: Rewrite sun/management/jmxremote/bootstrap/CustomLauncherTest.java test to make binaries from source file
Reviewed-by: iignatyev
2020-03-19 14:58:04 +03:00
Stefan Karlsson
c8e7590899 8237111: LingeredApp should be started with getTestJavaOpts
Reviewed-by: cjplummer, dholmes
2020-01-24 10:31:45 +01:00
Matthias Baesken
57dac13ec5 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms
Reviewed-by: dholmes, jcbeyler
2019-08-01 08:59:31 +02:00
Daniil Titov
3c6c2d8ca2 8221303: sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java fails due to java.rmi.server.ExportException: Port already in use
Reviewed-by: cjplummer, amenkov, sgehwolf
2019-07-18 12:29:57 -07:00
Daniil Titov
dc9f6b3991 8214545: sun/management/jmxremote/bootstrap tests hang in revokeall.exe on Windows
Reviewed-by: dholmes, amenkov, bulasevich, dfuchs, erikj
2019-05-22 09:06:24 -07:00
Severin Gehwolf
77832350f1 8219585: [TESTBUG] sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java passes trivially when it shouldn't
Reviewed-by: dfuchs, sballal
2019-02-25 15:41:24 +01:00
Sergey Ustimenko
9d3cfddfb6 8215966: GeneratePropertyPassword.sh uses bash syntax
Use "case" instead of "if" for the NT check to make sh happy.

Reviewed-by: dholmes
2018-12-28 15:19:14 -08:00
Hamlin Li
9ed40ce6c5 8214431: tests failed because can't find jdk.testlibrary.* in test directory or libraries
Reviewed-by: chegar, ctornqvi, dholmes
2018-11-29 07:40:45 +08:00
Mandy Chung
a9b4ac9c37 8212197: OpenDataException thrown when constructing CompositeData for StackTraceElement
Reviewed-by: alanb
2018-10-16 11:47:33 -07:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Igor Ignatyev
3521fc392e 8210779: 8182404 and 8210732 haven't updated copyright years
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Igor Ignatyev
2702b5c299 8182404: remove jdk.testlibrary.JDKToolFinder and JDKToolLauncher
Reviewed-by: amenkov, jcbeyler, alanb
2018-09-10 14:23:37 -07:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Igor Ignatyev
370abe471f 8210022: remove jdk.testlibrary.ProcessThread, TestThread and XRun
Reviewed-by: sspitsyn, jcbeyler
2018-08-27 21:50:52 -07:00
Sibabrata Sahoo
136331b7f0 8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure
Test failure due to unsupported DSA keys

Reviewed-by: dfuchs, xuelei
2018-07-04 03:44:32 -07:00
Harsha Wardhana B
94faf6972b 8192953: sun/management/jmxremote/bootstrap/*.sh tests fail with error : revokeall.exe: Permission denied
Reviewed-by: cjplummer
2018-06-28 09:40:46 +05:30
David Holmes
c83db6b4d1 8174734: Safepoint sync time did not increase
Reviewed-by: coleenp, hseigel
2018-06-06 17:10:37 -04:00
Amit Sapre
2f100464ea 8071367: JMX: Remove SNMP support
Drop jdk.snmp module.

Reviewed-by: alanb, mchung, dfuchs
2018-04-06 17:27:24 +05:30
Harsha Wardhana B
7cbffcf023 8196028: JMX: Not enough JDP packets received before timeout
Reviewed-by: dholmes, egahlin
2018-03-20 13:40:03 +05:30
Mandy Chung
3414903aba 8198253: ThreadInfo.from(CompositeData) incorrectly accepts CompositeData with missing JDK 6 attributes
Reviewed-by: dfuchs, jmanson
2018-02-28 17:11:57 -08:00
Amit Sapre
9820ed61cd 8175542: JMX: Not enough JDP packets received
Fixed test case wrongly reporting timeout failures.

Reviewed-by: dholmes, hb
2018-01-16 12:38:21 +05:30
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00