[jboss-jira] [JBoss JIRA] Commented: (JBAS-3615) failing test in org.jboss.test.jbossmx.compliance.objectname.MalformedTestCase

Dimitris Andreadis (JIRA) jira-events at jboss.com
Mon Dec 18 14:23:40 EST 2006


    [ http://jira.jboss.com/jira/browse/JBAS-3615?page=comments#action_12348966 ] 
            
Dimitris Andreadis commented on JBAS-3615:
------------------------------------------

According to the Javadoc for javax.management.ObjectName:
http://java.sun.com/j2se/1.5.0/docs/api/javax/management/ObjectName.html

"Each key is a nonempty string of characters which may not contain any of the characters comma (,), equals (=), colon, asterisk, or question mark."

The test that fails checks that an empty key produces a MalformedObjectNameException.

Both the Sun and JRockit jdk5 fail to produce this exception.

I had reported the issue in the past and it is fixed in sun jdk6 (mustang):
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6229396





> failing test in org.jboss.test.jbossmx.compliance.objectname.MalformedTestCase
> ------------------------------------------------------------------------------
>
>                 Key: JBAS-3615
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3615
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: JMX, Test Suite
>         Environment: Java Version 1.5.0_05 
> Java Vendor Sun Microsystems Inc. 
> Java VM Name Java HotSpot(TM) Server VM 
> Java VM Version 1.5.0_05-b05 
> Java VM Info mixed mode 
> OS Name Linux 
> OS Version 2.6.9-34.0.2.ELsmp 
> OS Arch i386 
>            Reporter: Dimitris Andreadis
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.2.0.CR1
>
>
> testMalformed Failure
> invalid object name: domain:=,foo=bar
> junit.framework.AssertionFailedError: invalid object name: domain:=,foo=bar
> 	at org.jboss.test.jbossmx.compliance.objectname.MalformedTestCase$FullNameTEST.testMalformed(MalformedTestCase.java:152)
>  

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

        



More information about the jboss-jira mailing list