T unwrap() {
return (T)this.ow2ClassReader;
}
-
}
diff --git a/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/config/SystemProperties.java b/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/config/SystemProperties.java
index ea2ca7867d3..0e7dc671ebc 100644
--- a/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/config/SystemProperties.java
+++ b/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/config/SystemProperties.java
@@ -265,8 +265,7 @@ public class SystemProperties {
*
* Allowed Values (case sensitive String):
*
- * - "
eclipselink
" (DEFAULT) - use ASM implementation from org.eclipse.persistence.asm project.
- * - "
ow2
" - use ASM implementation from org.ow2.asm project.
+ * - "
ow2
" (DEFAULT) - use ASM implementation from org.ow2.asm project.
*
*/
public static final String ASM_SERVICE = "eclipselink.asm.service";
diff --git a/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/internal/localization/i18n/ExceptionLocalizationResource.java b/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/internal/localization/i18n/ExceptionLocalizationResource.java
index 28e799a007d..addc75a1f43 100644
--- a/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/internal/localization/i18n/ExceptionLocalizationResource.java
+++ b/foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/internal/localization/i18n/ExceptionLocalizationResource.java
@@ -259,7 +259,7 @@ public class ExceptionLocalizationResource extends ListResourceBundle {
{ "wrap_convert_exception", "An exception occurred while calling {0} on converter class {1} with value {2}"},
{ "ora_pessimistic_locking_with_rownum", "Pessimistic locking with query row limits is not supported."},
{ "bean_validation_constraint_violated", "One or more Bean Validation constraints were violated while executing Automatic Bean Validation on callback event: {0} for class: {1}. Please refer to the embedded constraint violations for details."},
- { "unsupported_classfile_version", "The {0} class was compiled with an unsupported JDK. Report this error to the EclipseLink open source project."},
+ { "unsupported_classfile_version", "The {0} class was compiled with an unsupported JDK and can not be read. Current ASM supports JDK {1} at most. Please upgrade OW2 ASM dependencies."},
{ "json_pgsql_missing_class_on_classpath", "Missing {0} on classpath."},
{ "json_pgsql_jsonvalue_to_database_type", "JSON value to database type conversion failed."},
{ "json_pgsql_pgobject_conversion", "Database PGobject conversion failed."},
diff --git a/foundation/org.eclipse.persistence.core/src/test/java/module-info.java b/foundation/org.eclipse.persistence.core/src/test/java/module-info.java
index 8324b41e10d..656c0630390 100644
--- a/foundation/org.eclipse.persistence.core/src/test/java/module-info.java
+++ b/foundation/org.eclipse.persistence.core/src/test/java/module-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
@@ -20,7 +20,6 @@
requires jakarta.mail;
requires jakarta.json;
requires jakarta.xml.bind;
- requires org.eclipse.persistence.asm;
requires org.eclipse.persistence.core;
requires junit;
diff --git a/foundation/org.eclipse.persistence.nosql/pom.xml b/foundation/org.eclipse.persistence.nosql/pom.xml
index c92d4c31b7f..d9472231428 100644
--- a/foundation/org.eclipse.persistence.nosql/pom.xml
+++ b/foundation/org.eclipse.persistence.nosql/pom.xml
@@ -85,10 +85,25 @@
test-jar
test