Commit f6ab96c3 authored by Philippe Merle's avatar Philippe Merle
Browse files

Fixed in order to be compatible with <frascati:implementation.osgi>

parent 412cb963
......@@ -345,7 +345,7 @@ public class JuliacComponent
try {
String membraneDesc = md.membraneDesc;
if(md.contentDesc instanceof String) {
if("scaPrimitive".equals(membraneDesc) && md.contentDesc instanceof String) {
String className = (String)md.contentDesc;
Class<?> clazz = null;
try {
......
......@@ -239,7 +239,7 @@ public class ComponentFactoryImpl
Component component = null;
try {
if(contentClass instanceof String) {
if("scaPrimitive".equals(membraneDesc) && contentClass instanceof String) {
String className = (String)contentClass;
// Load the content class.
Class<?> clazz = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment