Hello,
For security reason , i encrypted jar file that uploaded on smartfox server but it smart fox server show following errors
Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 43 in method game.LoginExtension.init()V at offset 1
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.smartfoxserver.v2.entities.managers.SFSExtensionManager.createJavaExtension(SFSExtensionManager.java:341)
at com.smartfoxserver.v2.entities.managers.SFSExtensionManager.createExtension(SFSExtensionManager.java:260)
at com.smartfoxserver.v2.entities.managers.SFSZoneManager.createZone(SFSZoneManager.java:433)
at com.smartfoxserver.v2.entities.managers.SFSZoneManager.initializeZones(SFSZoneManager.java:249)
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:266)
at com.smartfoxserver.v2.Main.main(Main.java:27)
how can i use encrypted jar file in smart fox server?
Is amertfox server support encrypted jar file?
Re: Is amertfox server support encrypted jar file?
Hi,
there is no support in Java for encrypted jar files, that I know of.
You mean you have obfuscated the code? If you do so you may break the jar file, so it's not guaranteed that it will work. If you make sure that only your code gets obfuscated but not the references to external libraries then it will definitely work.
cheers
there is no support in Java for encrypted jar files, that I know of.
You mean you have obfuscated the code? If you do so you may break the jar file, so it's not guaranteed that it will work. If you make sure that only your code gets obfuscated but not the references to external libraries then it will definitely work.
cheers
Who is online
Users browsing this forum: Stevenor and 51 guests