Question [Q] Edit java code in /system/framework/core.jar

Hi,
i wanted to load some custom library on init. so i added code to
core.jar (using Virtuous Ten Studio)
but when I put it on my device, it can not be restarted (bricked)
Can someone help me solve this problem