Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the below compliant solution, the readObject method () method throws an exception unless the potentially dangerous class is whitelisted.

...