B4J Question Is Process_Globals Strings Obfuscated in ALL modules?

jmon

Well-Known Member
Licensed User
Longtime User
Hello,

I read on many threads (i.e. https://www.b4x.com/android/forum/threads/obfuscation.37699/#post-222647) that
Any string written in Process_Globals sub (and only in this sub) will be obfuscated
affects strings in Process_Globals sub

'Sub' is always written without an 's', so I'm wondering if that also includes Process_Globals subs from code modules, or only the main module?

Does obfuscating works for Class_Globals?

Thanks
Jmon.
 

jmon

Well-Known Member
Licensed User
Longtime User
Thank you.
Something else I noticed regarding obfuscation. When I open my .java files in "/src/...", I see many commented lines containing for example:
B4X:
 '//BA.debugLineNum = 25;BA.debugLine="Private MySQLPW As String = \"mycleartextpassword";
These lines contain clear text non-obfuscated passwords and other thing I'd like to hide.
Are those lines removed when packed into a jar file?

Thank you.
 
Upvote 0
Top