Skip to content

Commit ad89d5c

Browse files
committed
Migrate the Windows native file-system refresh monitor to JNA
This avoids the native code necessary for JNI and consequently the separate o.e.core.resources.win32.x86_64 fragment, while being only slightly slower without noticeable impact on the overall performance. At the same time it allows to use the 'Win32RefreshProvider' on all CPU architectures supported on Windows out of the box. Also part of eclipse-platform/eclipse.platform.releng.aggregator#577
1 parent 25b48e3 commit ad89d5c

File tree

20 files changed

+114
-707
lines changed

20 files changed

+114
-707
lines changed

resources/bundles/org.eclipse.core.resources.win32.x86_64/.project

-22
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/.settings/org.eclipse.core.resources.prefs

-2
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/.settings/org.eclipse.core.runtime.prefs

-2
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/BUILD_INFO.txt

-10
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/META-INF/MANIFEST.MF

-9
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/about.html

-36
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/build.properties

-21
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/fragment.properties

-16
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/fragment.xml

-12
This file was deleted.

resources/bundles/org.eclipse.core.resources.win32.x86_64/pom.xml

-21
This file was deleted.

resources/bundles/org.eclipse.core.resources/META-INF/MANIFEST.MF

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Service-Component: OSGI-INF/ResourceChangeListenerRegistrar.xml,
3434
OSGI-INF/org.eclipse.core.internal.resources.CheckMissingNaturesListener.xml
3535
Bundle-RequiredExecutionEnvironment: JavaSE-17
3636
Automatic-Module-Name: org.eclipse.core.resources
37-
Import-Package: org.eclipse.osgi.service.datalocation;version="[1.3.0,2.0.0)"
37+
Import-Package: com.sun.jna;version="[5.14.0,6.0.0)",
38+
org.eclipse.osgi.service.datalocation;version="[1.3.0,2.0.0)"

resources/bundles/org.eclipse.core.resources/build.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ output.. = bin/
1616
source.ant_tasks/resources-ant.jar = src_ant/
1717
output.ant_tasks/resources-ant.jar = bin_ant/
1818
src.includes = about.html,\
19-
schema/,\
20-
natives/
19+
schema/
2120
bin.includes = plugin.xml,\
2221
plugin.properties,\
2322
.options,\

resources/bundles/org.eclipse.core.resources/natives/make.bat

-30
This file was deleted.

resources/bundles/org.eclipse.core.resources/natives/readme.txt

-3
This file was deleted.

0 commit comments

Comments
 (0)