equal
deleted
inserted
replaced
801 for (int i = 0; i < simpleTypes.length; i++) { |
801 for (int i = 0; i < simpleTypes.length; i++) { |
802 final OpenType<?> t = simpleTypes[i]; |
802 final OpenType<?> t = simpleTypes[i]; |
803 Class<?> c; |
803 Class<?> c; |
804 try { |
804 try { |
805 c = Class.forName(t.getClassName(), false, |
805 c = Class.forName(t.getClassName(), false, |
806 String.class.getClassLoader()); |
806 MappedMXBeanType.class.getClassLoader()); |
807 MappedMXBeanType.newBasicType(c, t); |
807 MappedMXBeanType.newBasicType(c, t); |
808 } catch (ClassNotFoundException e) { |
808 } catch (ClassNotFoundException e) { |
809 // the classes that these predefined types declare |
809 // the classes that these predefined types declare |
810 // must exist! |
810 // must exist! |
811 throw new AssertionError(e); |
811 throw new AssertionError(e); |