Trusted execution path for protecting java applications against deserialization of untrusted data