From e6cd5a784f04fd770cbf2081d4c3d6b338fd4d89 Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Thu, 19 Dec 2024 21:10:35 +0100 Subject: [PATCH] LDEV-5128 change to gt java 11 --- .../main/java/lucee/commons/io/res/type/file/FileResource.java | 2 +- loader/build.xml | 2 +- loader/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/lucee/commons/io/res/type/file/FileResource.java b/core/src/main/java/lucee/commons/io/res/type/file/FileResource.java index c73a231569..578d4ec471 100644 --- a/core/src/main/java/lucee/commons/io/res/type/file/FileResource.java +++ b/core/src/main/java/lucee/commons/io/res/type/file/FileResource.java @@ -138,7 +138,7 @@ public Resource getAbsoluteResource() { @Override public Resource getCanonicalResource() throws IOException { // java 12 performance regression LDEV-5218 - if (SystemUtil.JAVA_VERSION >= SystemUtil.JAVA_VERSION_11 ) + if (SystemUtil.JAVA_VERSION > SystemUtil.JAVA_VERSION_11 ) return new FileResource(provider, Path.of(getPath()).toAbsolutePath().normalize().toString()); return new FileResource(provider, getCanonicalPath()); } diff --git a/loader/build.xml b/loader/build.xml index 7f9f99779e..7036c23210 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index e7214df3b6..bcbb01592e 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.2.0.231-SNAPSHOT + 6.2.0.232-SNAPSHOT jar Lucee Loader Build