commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-298) ClassUtils.getShortClassName and ClassUtils.getPackageName and class of array
Date Wed, 16 Jan 2008 07:03:34 GMT

    [ https://issues.apache.org/jira/browse/LANG-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559372#action_12559372
] 

Henri Yandell commented on LANG-298:
------------------------------------

Digging into the depths of the list, this came up in 2005 too, but around the time of the
2.1 release and so was reverted and lost.

http://markmail.org/message/2gbkqzeuw6aoaqig (the commit)
http://markmail.org/message/peke7234ejx34n6g (the discussion)

Looks like we agreed to do a Class.forName(String, ClassLoader) that would handle the int[]
-> [I stuff.

My concern with the changing getShortName/getPackageName is that currently packageName+"."+shortName
equals class.name. 

We should also add a ClassUtils.getClassName, which maintains this equality, and is effectively
the opposite of the forName above.



> ClassUtils.getShortClassName and ClassUtils.getPackageName and class of array
> -----------------------------------------------------------------------------
>
>                 Key: LANG-298
>                 URL: https://issues.apache.org/jira/browse/LANG-298
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Tomasz Blachowicz
>             Fix For: 2.4
>
>         Attachments: ClassUtils.java.patch, ClassUtilsTest.java.patch, java.diff.txt,
test.diff.txt
>
>


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


Mime
View raw message