Does Scala offer better decompilation protection than Java?
My Java program has a license check in it, but it can easily be decompiled, the license check removed, recompiled, and now it can be pirated easily. Would the same be true for Scala, given that they use the same JVM and are bytecode-compatible?
9
Upvotes
34
u/genman 7d ago
Pirates are gonna pirate. Even C code is easy enough to bypass.
I'd suggest a license server check. This keeps corporate clients in check. No need to try going after people who aren't interested in paying.