commit | 6a046661b5aa44021f122dcf00cb2359c0457996 | [log] [tgz] |
---|---|---|
author | Stuart McCulloch <mcculls@apache.org> | Thu Jul 19 13:11:20 2012 +0000 |
committer | Stuart McCulloch <mcculls@apache.org> | Thu Jul 19 13:11:20 2012 +0000 |
tree | eb1decad526a3c35777bb77ae899544e17cf21cf | |
parent | 2a81e5bf28c795f6b1ef31bc12a5f46f3801413d [diff] [blame] |
Sync with latest bnd code git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1363322 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/aQute/bnd/component/ComponentDef.java b/bundleplugin/src/main/java/aQute/bnd/component/ComponentDef.java index 98f7d36..1054896 100644 --- a/bundleplugin/src/main/java/aQute/bnd/component/ComponentDef.java +++ b/bundleplugin/src/main/java/aQute/bnd/component/ComponentDef.java
@@ -7,6 +7,7 @@ import aQute.bnd.osgi.*; import aQute.bnd.osgi.Descriptors.TypeRef; +import aQute.bnd.version.*; import aQute.lib.collections.*; import aQute.lib.tag.*; @@ -183,6 +184,9 @@ return v; try { + if ( type.equals("Char")) + type = "Character"; + Class< ? > c = Class.forName("java.lang." + type); if (c == String.class) return v;