--- old/src/java.base/unix/classes/sun/nio/ch/PollSelectorImpl.java 2018-02-07 11:23:42.000000000 +0000 +++ new/src/java.base/unix/classes/sun/nio/ch/PollSelectorImpl.java 2018-02-07 11:23:42.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2018, 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 @@ -28,7 +28,6 @@ import java.io.IOException; import java.nio.channels.*; import java.nio.channels.spi.*; -import java.util.*; /** @@ -44,7 +43,7 @@ private int fd1; // Lock for interrupt triggering and clearing - private Object interruptLock = new Object(); + private final Object interruptLock = new Object(); private boolean interruptTriggered = false; /**