-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
6u17
-
x86
-
solaris_8
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Linux bjeaslinux1.sybase.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x8
6_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
I created a simple java testcase,which has different result between jdk15 and jdk16.
When i run it with jdk1.5.0_17,i can get MalformedObjectNameException.But can't get any exception when run it with jdk1.6.0_18.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run this case with jdk1.5.0_17 and jdk1.6.0_18.
I can get MalformedObjectNameException when run it with jdk1.5.0_17
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
hope to get MalformedObjectNameException.
ACTUAL -
no exception
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.io.*;
import javax.management.ObjectName ;
import javax.management.MalformedObjectNameException ;
public class test1{
public static void main(String[] args)
{
String nameValue="domain:top=";
try {
new ObjectName(nameValue) ;
} catch (MalformedObjectNameException monEx) {
System.out.println("MalformedObjectNameException");
} catch(Exception Ex)
{
System.out.println("Exception");
}
}
}
---------- END SOURCE ----------
ADDITIONAL OS VERSION INFORMATION :
Linux bjeaslinux1.sybase.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x8
6_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
I created a simple java testcase,which has different result between jdk15 and jdk16.
When i run it with jdk1.5.0_17,i can get MalformedObjectNameException.But can't get any exception when run it with jdk1.6.0_18.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run this case with jdk1.5.0_17 and jdk1.6.0_18.
I can get MalformedObjectNameException when run it with jdk1.5.0_17
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
hope to get MalformedObjectNameException.
ACTUAL -
no exception
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.io.*;
import javax.management.ObjectName ;
import javax.management.MalformedObjectNameException ;
public class test1{
public static void main(String[] args)
{
String nameValue="domain:top=";
try {
new ObjectName(nameValue) ;
} catch (MalformedObjectNameException monEx) {
System.out.println("MalformedObjectNameException");
} catch(Exception Ex)
{
System.out.println("Exception");
}
}
}
---------- END SOURCE ----------
- relates to
-
JDK-6229396 Errors in ObjectName constructors.
-
- Resolved
-