--- a/src/java.base/linux/classes/sun/nio/ch/EPoll.java Thu Mar 15 10:41:57 2018 +0100
+++ b/src/java.base/linux/classes/sun/nio/ch/EPoll.java Thu Mar 15 10:47:58 2018 +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);