db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lily Wei (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-5022) [patch] override equals correctly
Date Sat, 12 Feb 2011 22:05:57 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lily Wei updated DERBY-5022:
----------------------------

    Attachment: allpackages_1069981.txt
                allpackages_before1069981.txt

Hi Tiago: Just FYI. I run Suites.all before and after my check-in (svn 1069981). I have 6
failures, 377 errors and 5 failures and 388 errors. Most of the errors due to database 'wombat'
already existed. If I may guess, it is because of testStatsCreatedOnGrowthThenDeleteDb. It
had failure information like: 
2) testStatsCreatedOnGrowthThenDeleteDb(org.apache.derbyTesting.functionTests.te
sts.store.AutomaticIndexStatisticsTest)junit.framework.AssertionFailedError: Fai
led to delete 3 files (root=c:\derby3\trunk\testallpackages\system\wombat: c:\de
rby3\trunk\testallpackages\system\wombat\seg0\c580.dat (isDir=false, canRead=tru
e, canWrite=true, size=65536), c:\derby3\trunk\testallpackages\system\wombat\seg
0 (isDir=true, canRead=true, canWrite=true, size=65536), c:\derby3\trunk\testall
packages\system\wombat (isDir=true, canRead=true, canWrite=true, size=4096)
        at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted
(BaseJDBCTestCase.java:1496)
        at org.apache.derbyTesting.functionTests.tests.store.AutomaticIndexStati
sticsTest.testStatsCreatedOnGrowthThenDeleteDb(AutomaticIndexStatisticsTest.java
sticsTest.testStatsCreatedOnGrowthThenDeleteDb(AutomaticIndexStatisticsTest.java
:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
112)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57
)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
      
        I attached both output file for you to reference. Hope this help, thanks!


> [patch] override equals correctly
> ---------------------------------
>
>                 Key: DERBY-5022
>                 URL: https://issues.apache.org/jira/browse/DERBY-5022
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: 10.8.0.0
>
>         Attachments: allpackages_1069981.txt, allpackages_before1069981.txt, override_equals_correctly.diff,
test.tgz
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> code implements equals w/o an Object parm. Calling code that doesn't have first class
signature of FormatableBitSet will not work as expected. Properly override equals to fix.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message