-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b71
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136295 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
JDK-8140952 | 8u91 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8132416 | 8u72 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8147321 | emb-8u91 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
This really says it all: the comment is correct, the actual code isn't:
//if there is no logger, or if it's set to log only coarser events
//than the trace level, skip and return
- if (logger != null && logger.levelCoarserThan(level)) {
+ if (logger == null || logger.levelCoarserThan(level)) {
//if there is no logger, or if it's set to log only coarser events
//than the trace level, skip and return
- if (logger != null && logger.levelCoarserThan(level)) {
+ if (logger == null || logger.levelCoarserThan(level)) {
- backported by
-
JDK-8132416 Wrong condition for checking absence of logger in MethodHandleFactory
-
- Resolved
-
-
JDK-8136295 Wrong condition for checking absence of logger in MethodHandleFactory
-
- Resolved
-
-
JDK-8140952 Wrong condition for checking absence of logger in MethodHandleFactory
-
- Resolved
-
-
JDK-8147321 Wrong condition for checking absence of logger in MethodHandleFactory
-
- Resolved
-