Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331060

Summary: jpa.ddlgeneration.DDLGenerationJUnitTestSuite.testDDLTableCreationWithSuffix failed on JDK 1.5
Product: z_Archived Reporter: Edwin Tang <edwin.tang>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christopher.delahunt
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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