Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] SVN rev# 8855 does not compile at tests\jpa\fieldaccess\advanced\EntityManagerJUnitTestSuite.java:220 (missing Collections import)

fyi,
   The latest trunk 8855 does not compile.
https://fisheye2.atlassian.com/changelog/eclipselink

A Collections import is missing. I'd modify the build but I don't have enough time to rerun the regression tests and setup a txn tonight.

[javac] Compiling 983 source files to C:\view_w36b_ssts25a\jpa\eclipselink.jpa.test\classes Warning: Reference compile.path has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support
referencing ids defined in non-executed targets.
[javac] C:\view_w36b_ssts25a\jpa\eclipselink.jpa.test\src\org\eclipse\persistence\testing\tests\jpa\fieldaccess\advanced\EntityManagerJUnitTestSuite.java:220: cannot find symbol
   [javac] symbol  : variable Collections
[javac] location: class org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.EntityManagerJUnitTestSuite
   [javac]         Collections.sort(tests);
   [javac]         ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] Note: Some input files use unchecked or unsafe operations.
   [javac] Note: Recompile with -Xlint:unchecked for details.
   [javac] 1 error

BUILD FAILED
C:\view_w36b_ssts25a\build.xml:318: The following error occurred while executing this line: C:\view_w36b_ssts25a\jpa\eclipselink.jpa.test\build.xml:410: Compile failed; see the compiler error output for details.


>Add the following import to line 29

import java.util.Collections;


>The test class will now compile ok

trunk>ant
...
BUILD SUCCESSFUL
Total time: 2 minutes 44 seconds
C:\view_w36b_ssts25a>


/Michael


Back to the top