You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Felix Knecht (JIRA)" <ji...@apache.org> on 2010/01/20 14:50:54 UTC

[jira] Created: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
------------------------------------------------------------------

                 Key: DIRSHARED-47
                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
             Project: Directory Shared
          Issue Type: Bug
         Environment: linux
            Reporter: Felix Knecht
            Priority: Blocker
             Fix For: 1.0.0-RC1


There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSHARED-47.
----------------------------------------

    Resolution: Fixed

Should be fixed with http://svn.apache.org/viewvc?rev=901299&view=rev


> Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
> ------------------------------------------------------------------
>
>                 Key: DIRSHARED-47
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
>             Project: Directory Shared
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Felix Knecht
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.0.0-RC1
>
>         Attachments: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt, org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt
>
>
> There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSHARED-47:
------------------------------------------

    Assignee: Emmanuel Lecharny

> Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
> ------------------------------------------------------------------
>
>                 Key: DIRSHARED-47
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
>             Project: Directory Shared
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Felix Knecht
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.0.0-RC1
>
>         Attachments: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt, org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt
>
>
> There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Posted by "Felix Knecht (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Knecht closed DIRSHARED-47.
---------------------------------


Works for me. Thanks for fixing, Emmanuel.

Felix

> Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
> ------------------------------------------------------------------
>
>                 Key: DIRSHARED-47
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
>             Project: Directory Shared
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Felix Knecht
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.0.0-RC1
>
>         Attachments: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt, org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt
>
>
> There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802902#action_12802902 ] 

Emmanuel Lecharny commented on DIRSHARED-47:
--------------------------------------------

It seems we have *huge* bug in the way we manage SchemaObjects : we store those which are standard Schema objects ( AT, OC, ...) in the global OidRegistry after having check that they were not already present. Well, this is what we expect to do. The other schemaObjects are not stored into the global OidRegistry (Normalizers, SyntaxChckers and Comparators).

Due to a wrongly '!' added in a if , the registries() method does the exact opposite.

Why does it works for java 1.6, and fail in java 5 ? It's funny : if you register first a Normalizer with  an OID shared with some AT, then the global Oid Registry will contains the OID, but as the AT's OID duplication is not tested due to the wrong check, it's ok. On the other side, if you revert the registration, the duplication will be seen.

This is what happen : in java 6, we register first the normalizer, then the AT, and Java 5, we register first the AT then the normalizer (it all depends on the order by which the associated files are read from the disk).

Fixing and testing atm.

> Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
> ------------------------------------------------------------------
>
>                 Key: DIRSHARED-47
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
>             Project: Directory Shared
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Felix Knecht
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.0.0-RC1
>
>         Attachments: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt, org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt
>
>
> There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSHARED-47:
---------------------------------------

    Fix Version/s:     (was: 1.0.0-RC1)
                   0.9.18

> Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
> ------------------------------------------------------------------
>
>                 Key: DIRSHARED-47
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
>             Project: Directory Shared
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Felix Knecht
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 0.9.18
>
>         Attachments: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt, org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt
>
>
> There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSHARED-47) Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager

Posted by "Felix Knecht (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Knecht updated DIRSHARED-47:
----------------------------------

    Attachment: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt
                org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt

The reports of failing tests

> Testfailures on jdk1.5, jdk1.6 works in shared-ldap-schema-manager
> ------------------------------------------------------------------
>
>                 Key: DIRSHARED-47
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-47
>             Project: Directory Shared
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Felix Knecht
>            Priority: Blocker
>             Fix For: 1.0.0-RC1
>
>         Attachments: org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerEnableDisableLoadTest.txt, org.apache.directory.shared.ldap.schema.loader.ldif.SchemaManagerLoadWithDepsTest.txt
>
>
> There are failing tests using jdk1.5 whereas the tests are passing fine when using jdk1.6 for the component shared-ldap-schema-manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.