[Bug 181] New: enum issue with icedtea

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Aug 6 12:49:53 PDT 2008


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=181

           Summary: enum issue with icedtea
           Product: IcedTea
           Version: unspecified
          Platform: PC
               URL: http://www.opennms.org/~brozow/enum-spring-test.tar.gz
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IcedTea
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: ranger at opennms.org


OpenNMS has some code that works in the Sun JDK but fails in icedtea (Fedora
Core 9, java-1.6.0-openjdk-1.6.0.0-0.17.b09.fc9.i386).  We've managed to break
it down into a small test case, available at the URL in this bug.

Just unpack and run "mvn test -e", you should get an error like this:

[ranger at i386-fc9 enum-spring-test]$ mvn test -e
/usr/lib/jvm/java
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building enum-spring-test
[INFO]    task-segment: [test]
[INFO]
----------------------------------------------------------------------------
[INFO] Ignoring available plugin update: 2.4.3 as it requires Maven version
2.0.6
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: /tmp/enum-spring-test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.openjdk.test.BeanWrapperTest
Aug 6, 2008 2:49:23 PM org.springframework.beans.TypeConverterDelegate
findDefaultEditor
WARNING: PropertyEditor [sun.beans.editors.EnumEditor] found through deprecated
global PropertyEditorManager fallback - consider using a more isolated form of
registration, e.g. on the BeanWrapper/BeanFactory!
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.188 sec <<<
FAILURE!

Results :

Tests in error: 
  testBeanWrapper(org.openjdk.test.BeanWrapperTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /tmp/enum-spring-test/target/surefire-reports for the
individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to /tmp/enum-spring-test/target/surefire-reports for the
individual test results.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.

Please refer to /tmp/enum-spring-test/target/surefire-reports for the
individual test results.
        at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Aug 06 14:49:23 GMT-05:00 2008
[INFO] Final Memory: 5M/9M
[INFO] ------------------------------------------------------------------------


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list