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

Steven lian (JIRA) jira-events at jboss.com
Thu Jan 18 02:12:52 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-3615?page=comments#action_12351083 ] 
            
Steven lian commented on JBAS-3615:
-----------------------------------

Hi Dimitris,
I can not quite understand.You mean you run the test case failed both in JDK5 and JDK6,right?I checked the  original source code in 
org.jboss.test.jbossmx.compliance.objectname. MalformedTestCase:
***************************************************************************
public static final String[] BAD_FULLNAMES = {
      "domain:key=val,key=val2", // duplicate key
      "domain:=,foo=bar", // both key and value empty, fails on jdk5, sun-bug 
#338585
      "domain:key=val,,foo=bar", // missing kvp in middle
      "domain:,key=val,foo=bar", // missing kvp at beginning
      "domain:key=val,foo=bar,", // missing kvp at end
      "domain:key=val,   ,foo=bar", // malformed kvp, no = char
   };
********************************************************************
>From the Sun JDK5(JMX 1.2), it is allowed empty end of the ObjectName,you mean the same as jdk6 or not?Actually,what I concern is that in which version of the jboss AS the test case would be updated?
Thanks!

> 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 
> Microsoft Windows XP [Version 5.1.2600]
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> BEA JRockit(R) (build R26.4.0-63-63688-1.5.0_06-20060626-2259-win-ia32, )
>            Reporter: Dimitris Andreadis
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.2.0.CR1, JBossAS-4.0.5.SP1 , JBossAS-5.0.0.Beta2
>
>         Attachments: TestMalformedObjectName.java
>
>
> testMalformed Failure
> invalid object name: domain:=,foo=bar
> junit.framework.AssertionFailedError: invalid object name: domain:=val,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