Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331060 - jpa.ddlgeneration.DDLGenerationJUnitTestSuite.testDDLTableCreationWithSuffix failed on JDK 1.5
Summary: jpa.ddlgeneration.DDLGenerationJUnitTestSuite.testDDLTableCreationWithSuffix ...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 15:40 EST by Edwin Tang CLA
Modified: 2022-06-09 10:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Tang CLA 2010-11-24 15:40:30 EST
This is a regression.

jpa.ddlgeneration.DDLGenerationJUnitTestSuite.testDDLTableCreationWithSuffix failed on jdk15, it refers to a jdk16 specific method. This is caused by Chris' txn on revision #8512.

Stack Trace:
==============
java.lang.String.isEmpty()Z

java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateTableCreationSettings(EntityManagerSetupImpl.java:1904)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateServerSession(EntityManagerSetupImpl.java:1480)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:375)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:185)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:242)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:230)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.createEntityManager(JUnitTestCase.java:345)
at org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationJUnitTestSuite.testDDLTableCreationWithSuffix(DDLGenerationJUnitTestSuite.java:126)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:492)
at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)
at org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:313)
Comment 1 Chris Delahunt CLA 2010-12-03 09:00:44 EST
Fix checked into 2.2 Nov 29th in revision 8579
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:28:15 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink