Seems like Minecraft works around this by bundling an older version of Java, since the bug is partially related to using JRE 1.8. I've been thinking about downgrading to only requiring JRE 1.7 for the final release, which might fix the problem.
If it'll help, that would be great.