You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/01/16 08:03:34 UTC
[jira] Commented: (LANG-298) ClassUtils.getShortClassName and
ClassUtils.getPackageName and class of array
[ 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.