Commit Graph

30 Commits

Author SHA1 Message Date
Daniel Fuchs
74835f7389 8283719: java/util/logging/CheckZombieLockTest.java failing intermittently
Reviewed-by: alanb
2022-04-11 13:43:03 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +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
Daniel Fuchs
08a5a5c6d6 8263382: java/util/logging/ParentLoggersTest.java failed with "checkLoggers: getLoggerNames() returned unexpected loggers"
Reviewed-by: bpb, mchung
2021-05-13 08:54:24 +00:00
Evan Whelan
ebdc80ead9 8252883: AccessDeniedException caused by delayed file deletion on Windows
Reviewed-by: dfuchs
2021-02-25 12:05:16 +00:00
Daniel Fuchs
a93841ac9c 8255277: randomDelay in DrainDeadlockT and LoggingDeadlock do not randomly delay
Reviewed-by: lancea
2020-11-26 14:50:40 +00:00
Rahul Yadav
e2072bba70 8245302: Upgrade LogRecord to support long thread ids and remove its usage of ThreadLocal
Java.util.logging.LogRecord has been updated to use long thread ids instead of int thread id

Reviewed-by: alanb, dfuchs
2020-07-03 10:19:54 +01:00
Daniel Fuchs
9e43496c42 8245867: Logger/bundleLeak/BundleTest.java fails due to "OutOfMemoryError: Java heap space"
The test is fixed to release the memory as soon as it's no longer needed.

Reviewed-by: lancea, dcubed, dholmes
2020-05-29 20:35:46 +01:00
Daniel Fuchs
e04e052889 8239013: java.util.logging.Logger catalog cache keeps strong references to ResourceBundles
Changed the Logger catalog cache to use WeakReference<ResourceBundle>

Reviewed-by: lancea, mchung, naoto
2020-05-25 17:59:40 +01:00
Vladimir Kozlov
c956e7ca8d 8185139: [Graal] Tests which set too restrictive security manager fail with Graal
Tests should also check default policy

Reviewed-by: mchung, dfuchs, alanb, mullan
2019-06-21 13:04:14 -07:00
Steve Groeger
3ff0b6ea5e 8222027: java/util/logging/LogManager/TestLoggerNames.java generates intermittent ClassCastException
Make a strong reference to TestLogger and dont fetch it from LogManager

Reviewed-by: dfuchs
2019-04-08 15:01:39 +01:00
Lin Zang
144d81caf6 8219721: jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
Fix compatibility issue caused by jmap update of 8215622

Reviewed-by: dholmes, ysuenaga, phh, sspitsyn
2019-03-11 21:26:19 -04:00
Daniel Fuchs
e58a4da301 8216363: NullPointerException in java.util.logging.Handler#isLoggable
The implementation is changed to match the spec: isLoggable(null) returns false.

Reviewed-by: mchung, lancea
2019-02-21 16:57:47 +00:00
Lin Zang
6f5c009756 8215622: Add dump to file support for jmap –histo
Add "file=" to jmap "histo" jmap, Hotspot support in attachListener.cpp:heap_inspection.

Reviewed-by: phh, sspitsyn
2019-02-20 11:36:02 -08:00
Daniel Fuchs
4ca19585c3 8217353: java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexResetUpdate.java fails with Unexpected reference: java.lang.ref.WeakReference
Instrumented the test to relay the original exception as a suppressed exception of the secondary one, increased sleep time, adjusted iteration numbers according to timeout factor.

Reviewed-by: lancea, iignatyev
2019-01-25 11:45:26 +00:00
Daniel Fuchs
0bdabe5e08 8211093: Default logging.properties sets log level for com.xyz.foo
Reviewed-by: bpb, rriggs
2018-12-13 11:27:37 +00:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Daniel Fuchs
059682d681 8213301: Fix legal headers in jdk logging tests
Reviewed-by: chegar, mchung
2018-11-05 11:20:47 +00:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Erik Joelsson
9d7fc64c38 8207243: Fix translation filtering to also support zh_HK and zh_TW
Reviewed-by: tbell
2018-07-19 14:25:42 -07:00
Erik Joelsson
8e3570cfc2 8204973: Add build support for filtering translations
Reviewed-by: ihse, naoto, dfuchs
2018-06-15 09:53:28 -07:00
Martin Buchholz
b3597efef7 8196768: RootLoggerHandlers fails when source tree is read-only
Reviewed-by: dfuchs
2018-02-05 20:20:35 -08:00
Daniel Fuchs
e6c7f041f9 8195096: Exception printed on console with custom LogManager on starting Apache Tomcat
Make sure that loadLoggerHandler for ".handler" is called only from within addLogger

Reviewed-by: mchung
2018-01-26 14:15:09 +00:00
Amy Lu
fc48aa8618 8194959: Correct test tag to move bugid from @test to @bug
Reviewed-by: sundar
2018-01-12 14:09:50 +08:00
Daniel Fuchs
eb62b5e51e 8187073: The java.util.logging.Level.findLevel() will not correctly find a Level by it's int value
Reviewed-by: rriggs
2017-12-08 17:40:57 +00:00
Daniel Fuchs
a87551990a 8191033: Regression in logging.properties: specifying .handlers= for root logger (instead of handlers=) no longer works
The behavior observed for Java 8 is restored

Reviewed-by: martin, mchung
2017-12-08 11:50:39 +00:00
Daniel Fuchs
ccdb0ef8e2 8189953: FileHandler constructor throws NoSuchFileException with absolute path
Reviewed-by: mchung
2017-11-09 20:51:37 +00:00
Naoto Sato
ab49e12b7f 8189291: Test policy should extend the default system policy
Reviewed-by: mchung
2017-10-24 08:56:30 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00