--- a/jdk/src/share/classes/java/awt/Component.java Mon Sep 12 15:49:08 2011 -0700
+++ b/jdk/src/share/classes/java/awt/Component.java Mon Sep 12 16:59:34 2011 -0700
@@ -3776,11 +3776,10 @@
createBufferStrategy(numBuffers, bufferCaps);
return; // Success
} catch (AWTException e) {
- // Failed
- }
- // Code should never reach here (an unaccelerated blitting
- // strategy should always work)
- throw new InternalError("Could not create a buffer strategy");
+ // Code should never reach here (an unaccelerated blitting
+ // strategy should always work)
+ throw new InternalError("Could not create a buffer strategy", e);
+ }
}
/**