--- old/src/java.base/linux/classes/sun/nio/ch/EPoll.java 2018-03-14 18:37:32.000000000 +0000 +++ new/src/java.base/linux/classes/sun/nio/ch/EPoll.java 2018-03-14 18:37:32.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 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 @@ -59,6 +59,10 @@ static final int EPOLL_CTL_DEL = 2; static final int EPOLL_CTL_MOD = 3; + // events + static final int EPOLLIN = 0x1; + static final int EPOLLOUT = 0x4; + // flags static final int EPOLLONESHOT = (1 << 30);