[jboss-jira] [JBoss JIRA] Resolved: (JBMAN-78) ObjectName ctor usage is inconsistent with jdk6

Scott M Stark (JIRA) jira-events at lists.jboss.org
Fri Apr 24 00:49:46 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMAN-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott M Stark resolved JBMAN-78.
--------------------------------

    Resolution: Done


> ObjectName ctor usage is inconsistent with jdk6
> -----------------------------------------------
>
>                 Key: JBMAN-78
>                 URL: https://jira.jboss.org/jira/browse/JBMAN-78
>             Project: JBoss Managed
>          Issue Type: Bug
>          Components: metatype
>    Affects Versions: JBossMan.2.1.0.CR8
>            Reporter: Scott M Stark
>            Assignee: Scott M Stark
>             Fix For: JBossMan.2.0.1.GA
>
>
> Compiling with jdk6 fails with:
> /Users/svn/JBossAS/projects/jboss-man/branches/Branch_2_1/metatype/src/main/java/org/jboss/metatype/plugins/values/mappers/PropertiesObjectNameMetaMapper.java:[100,27] cannot find symbol
> symbol  : constructor ObjectName(java.lang.String,org.jboss.metatype.api.values.PropertiesMetaValue)
> location: class javax.management.ObjectName
> /Users/svn/JBossAS/projects/jboss-man/branches/Branch_2_1/metatype/src/main/java/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java:[740,27] [deprecation] getType() in org.jboss.reflect.spi.TypeInfo has been deprecated
> /Users/svn/JBossAS/projects/jboss-man/branches/Branch_2_1/metatype/src/main/java/org/jboss/metatype/plugins/values/DefaultMetaValueFactory.java:[748,19] cannot find symbol
> symbol  : constructor ObjectName(java.lang.String,org.jboss.metatype.api.values.PropertiesMetaValue)
> location: class javax.management.ObjectName
> This is due to the change in from ObjectName(String domain, Hashtable table)  to ObjectName(String domain, Hashtable<String,String> table)  and Properties is a Hashtable<Object, Object> binding.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list