Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220481

Summary: dev-java/joda-time-1.5.1 fails with ibm-jdk-bin-1.6.0.1
Product: Gentoo Linux Reporter: Kenneth Prugh (RETIRED) <ken69267>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 217442, 261142    

Description Kenneth Prugh (RETIRED) gentoo-dev 2008-05-05 22:16:00 UTC
junit test fails with ibm-jdk-bin-1.6.0.1 on amd64:

    [junit] Testcase: testPropertyGetEra took 0.001 sec
    [junit]     FAILED
    [junit] expected:<[ap. J.-]C.> but was:<[Ap J.]C.>
    [junit] junit.framework.ComparisonFailure: expected:<[ap. J.-]C.> but was:<[Ap J.]C.>
    [junit]     at org.joda.time.TestDateTime_Properties.testPropertyGetEra(TestDateTime_Properties.java:116)
    [junit]
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-02-04 17:08:55 UTC
Try 1.6.
Comment 2 nixnut (RETIRED) gentoo-dev 2009-03-14 12:51:12 UTC
same error on ppc with joda-time-1.6. same error also occurs with ibm-jdk-bin-1.5.0.9 and -1.4.2.12

    [junit] Testcase: testPropertyGetEra took 0.003 sec
    [junit]     FAILED
    [junit] expected:<[ap. J.-]C.> but was:<[Ap J.]C.>
    [junit] junit.framework.ComparisonFailure: expected:<[ap. J.-]C.> but was:<[Ap J.]C.>
    [junit]     at org.joda.time.TestDateTime_Properties.testPropertyGetEra(TestDateTime_Properties.java:116)
    [junit] 

BUILD FAILED
/var/tmp/portage/dev-java/joda-time-1.6/work/joda-time-1.6-src/build.xml:342: Test org.joda.time.TestAll failed

Total time: 21 seconds
 * 
 * ERROR: dev-java/joda-time-1.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 4082:  Called eant '-Djunit.jar=/usr/share/junit/lib/junit.jar' 'test'
 *             environment, line  904:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/joda-time-1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/joda-time-1.6/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.6  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.6.0.3"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info

Comment 3 Andreas Sturmlechner gentoo-dev 2015-08-17 17:48:39 UTC
Is this still happening? Latest joda-time in tree is 2.1. I was going to test, until IBM wanted me to register...
Comment 4 James Le Cuirot gentoo-dev 2015-08-17 19:02:09 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Is this still happening? Latest joda-time in tree is 2.1. I was going to
> test, until IBM wanted me to register...

We'll be closing bugs like this soon as we want to get rid of ibm-jdk, largely for that reason. Just leave them for now.
Comment 5 James Le Cuirot gentoo-dev 2016-04-14 20:36:04 UTC
ibm-jdk-bin has been last-rited.