throw new RuntimeException( "Unable to get session snapshot",
e );
}
return baos.toByteArray();
}
<BUG>public KieSession loadSnapshot(byte[] bytes,

KieSession ksession) {

this.ksession = ksession;</BUG>
ByteArrayInputStream bais = new ByteArrayInputStream( bytes );

throw new RuntimeException( "Unable to get session snapshot",
e );
}
return baos.toByteArray();
}
public KieSession loadSnapshot( byte[] bytes,
KieSession ksession,
KieSessionInitializer initializer ) {
this.ksession = ksession;
