diff --git a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/java/com/fr/third/utils/load/LibraryLoadProviderManager.java b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/java/com/fr/third/utils/load/LibraryLoadProviderManager.java index 2576f1ce6..0f68786b7 100644 --- a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/java/com/fr/third/utils/load/LibraryLoadProviderManager.java +++ b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/java/com/fr/third/utils/load/LibraryLoadProviderManager.java @@ -127,13 +127,16 @@ public class LibraryLoadProviderManager { FineLoggerFactory.getLogger().error("[CustomVM] custom vm initialization unsupported: java version isn't 1.8"); return; } + String vmVendor = System.getProperty("java.vm.vendor").toLowerCase(); + if (vmVendor.contains("ibm") || vmVendor.contains("openj9")) { + FineLoggerFactory.getLogger().error("[CustomVM] custom vm initialization unsupported: ibm-jdk or openj9"); + return; + } FineLoggerFactory.getLogger().info("[CustomVM] library load manager initialization starts..."); if (envInit == null) { releaseEnv(); try { List libraryLoadProviders = new ArrayList<>(); - Class ibmLibraryLoadProviderClass = Class.forName("com.fr.third.utils.load.impl.IbmLibraryLoadProvider"); - libraryLoadProviders.add((LibraryLoadProvider) ibmLibraryLoadProviderClass.newInstance()); libraryLoadProviders.add(new AixLibraryLoadProvider()); libraryLoadProviders.add(new BsdLibraryLoadProvider()); libraryLoadProviders.add(new LinuxArmLibraryLoadProvider()); diff --git a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9AttachProvider$Permissions.class b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9AttachProvider$Permissions.class deleted file mode 100644 index c510707a7..000000000 Binary files a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9AttachProvider$Permissions.class and /dev/null differ diff --git a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9AttachProvider.class b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9AttachProvider.class deleted file mode 100644 index 01f2762e7..000000000 Binary files a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9AttachProvider.class and /dev/null differ diff --git a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9VirtualMachine.class b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9VirtualMachine.class deleted file mode 100644 index 0521d9461..000000000 Binary files a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9VirtualMachine.class and /dev/null differ diff --git a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9VirtualMachineDescriptor.class b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9VirtualMachineDescriptor.class deleted file mode 100644 index 9861b1e15..000000000 Binary files a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/com/ibm/tools/attach/attacher/OpenJ9VirtualMachineDescriptor.class and /dev/null differ diff --git a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/utils/load/impl/IbmLibraryLoadProvider.class b/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/utils/load/impl/IbmLibraryLoadProvider.class deleted file mode 100644 index 6ea9fc7c4..000000000 Binary files a/fine-third-jdk8/fine-mini-tools/tools-common/src/main/resources/com/fr/third/utils/load/impl/IbmLibraryLoadProvider.class and /dev/null differ