summaryrefslogtreecommitdiff
path: root/java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2018-12-27 09:52:52 +0000
committerAlex Dupre <ale@FreeBSD.org>2018-12-27 09:52:52 +0000
commitad43f6fd6e9b495c737d45e14f563c63f298c083 (patch)
tree2053bbf6e05831e38264f5a50b41809e5a19bfc1 /java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk
parentsecurity/pwned-check: Remove spaces from sample config file (diff)
Add a WatchService implementation backed by kqueue,
leveraging the libinotify wrapper. It's still possible to use the polling watchservice, by defining the following system property: sun.nio.fs.watchservice=polling
Notes
Notes: svn path=/head/; revision=488523
Diffstat (limited to 'java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk')
-rw-r--r--java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk18
1 files changed, 18 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk b/java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk
new file mode 100644
index 000000000000..82be1f09b4be
--- /dev/null
+++ b/java/openjdk8/files/patch-jdk-make-CompileJavaClasses.gmk
@@ -0,0 +1,18 @@
+--- ./jdk/make/CompileJavaClasses.gmk.orig 2018-12-13 14:57:18.491487000 +0100
++++ ./jdk/make/CompileJavaClasses.gmk 2018-12-13 14:58:08.484490000 +0100
+@@ -129,12 +129,12 @@
+ sun/nio/fs/LinuxFileSystem.java \
+ sun/nio/fs/LinuxFileSystemProvider.java \
+ sun/nio/fs/LinuxNativeDispatcher.java \
+- sun/nio/fs/LinuxUserDefinedFileAttributeView.java \
+- sun/nio/fs/LinuxWatchService.java
++ sun/nio/fs/LinuxUserDefinedFileAttributeView.java
+ endif
+
+ ifeq (, $(filter $(OPENJDK_TARGET_OS), linux bsd))
+- EXFILES += sun/nio/fs/MagicFileTypeDetector.java
++ EXFILES += sun/nio/fs/MagicFileTypeDetector.java \
++ sun/nio/fs/LinuxWatchService.java
+ endif
+
+ ifneq ($(OPENJDK_TARGET_OS), macosx)