summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java
diff options
context:
space:
mode:
authorgjoranv <gjoranv@gmail.com>2018-05-02 12:23:17 +0200
committerGitHub <noreply@github.com>2018-05-02 12:23:17 +0200
commit8e80aede65732210a72dbdfe6e7863ff502bd5ac (patch)
treef8b7d0da3fc9e28a7cfed66c6154ee603ba7c60f /jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java
parentbbb5bcd8fa10bde6d3275e68c54b0a83c2ab94ad (diff)
Revert "Revert "Gjoranv/java9 prep 05""
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java')
-rw-r--r--jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java
index a5897bea124..7dca8c45d0b 100644
--- a/jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java
+++ b/jdisc_core/src/test/java/com/yahoo/jdisc/core/OsgiLogHandlerTestCase.java
@@ -70,6 +70,8 @@ public class OsgiLogHandlerTestCase {
}
@Test
+ // TODO: Remove deprecation annotation and replace calls to LogRecord.setMillis() when we no longer have to support Java 8
+ @SuppressWarnings("deprecation")
public void requireThatJdk14PropertiesAreAvailableThroughServiceReference() {
MyLogService logService = new MyLogService();