[jira] Created: (XBEAN-135) ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (XBEAN-135) ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method
-----------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: XBEAN-135
                 URL: https://issues.apache.org/jira/browse/XBEAN-135
             Project: XBean
          Issue Type: Bug
    Affects Versions: 3.4.3, 3.5, 3.6
            Reporter: karan singh malhi


ClassFinder.getClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName()

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


[jira] Updated: (XBEAN-135) ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

karan singh malhi updated XBEAN-135:
------------------------------------

    Component/s: finder

> ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-135
>                 URL: https://issues.apache.org/jira/browse/XBEAN-135
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>    Affects Versions: 3.4.3, 3.5, 3.6
>            Reporter: karan singh malhi
>
> ClassFinder.getClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName()

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


[jira] Updated: (XBEAN-135) ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

karan singh malhi updated XBEAN-135:
------------------------------------

    Attachment: ClassFinder_patch.txt

Patch contains the fix and a unit test

> ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-135
>                 URL: https://issues.apache.org/jira/browse/XBEAN-135
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>    Affects Versions: 3.4.3, 3.5, 3.6
>            Reporter: karan singh malhi
>         Attachments: ClassFinder_patch.txt
>
>
> ClassFinder.getClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName()

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


[jira] Updated: (XBEAN-135) ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.findClassesInPackage() method

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

karan singh malhi updated XBEAN-135:
------------------------------------

    Description: ClassFinder.findClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName()  (was: ClassFinder.getClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName())
        Summary: ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.findClassesInPackage() method  (was: ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.getClassesInPackage() method)

> ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.findClassesInPackage() method
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-135
>                 URL: https://issues.apache.org/jira/browse/XBEAN-135
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>    Affects Versions: 3.4.3, 3.5, 3.6
>            Reporter: karan singh malhi
>         Attachments: ClassFinder_patch.txt
>
>
> ClassFinder.findClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName()

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


[jira] Closed: (XBEAN-135) ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.findClassesInPackage() method

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

David Blevins closed XBEAN-135.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.6
         Assignee: karan singh malhi

$ svn ci
Sending        xbean-finder/src/main/java/org/apache/xbean/finder/ClassFinder.java
Sending        xbean-finder/src/test/java/org/apache/xbean/finder/ClassFinderTest.java
Transmitting file data ..
Committed revision 811209.


> ClassFinder.getPackageName() returns the unqualified class name instead of the package name. This breaks the ClassFinder.findClassesInPackage() method
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-135
>                 URL: https://issues.apache.org/jira/browse/XBEAN-135
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>    Affects Versions: 3.4.3, 3.5, 3.6
>            Reporter: karan singh malhi
>            Assignee: karan singh malhi
>             Fix For: 3.6
>
>         Attachments: ClassFinder_patch.txt
>
>
> ClassFinder.findClassesInPackage() will always return an empty list because of a bug in ClassFinder.getPackageName()

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