Apologies to Imperial Japan. They were doing us a favor by showing our vulnerabilities.
Comparing an info dump of embarrassing material to a murderous attack in peace time? That's a stretch.
You'd have a better argument if you compared it to the putative Chinese missile launched off the California shore.
The question is whether the warning implicit in the Assange data dump is early enough for us to shut the barn door before all the horses are out. Let's hope so. We'd be in more trouble if the leaks continued, but no Assange happened to tell us.
The problem with the missile launch is that it's probably intended to tell us that the barn is empty.
In this instance, that could be a bad analogy.
IMO, the worst reactions from these leaks are coming from people who always dismiss conspiracy theories. Now that things are coming to light, it just blows their minds.