https://bugs.openjdk.java.net/browse/JDK-8140452 http://cr.openjdk.java.net/~dlong/8140452/webrev/ We hit this problem with gcc 4.9.2. Avoid the ResourceObj copy constructor until we figure out what gcc 4.9.2 is doing differently than gcc 4.8. Problem diagnosis and fix provided by Mikael Gerdin. dl