changeset 10888:5c58bc7e1e12

8059848: Test java/awt/GraphicsDevice/CloneConfigsTest.java causes JVM crash in OEL 7.0 Reviewed-by: bae, serb
author prr
date Mon, 13 Oct 2014 09:09:41 -0700
parents 1b0d9518c251
children ff6048f77891
files src/java.desktop/unix/native/common/java2d/opengl/GLXGraphicsConfig.c test/java/awt/GraphicsDevice/CloneConfigsTest.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/unix/native/common/java2d/opengl/GLXGraphicsConfig.c	Mon Oct 13 14:36:44 2014 +0400
+++ b/src/java.desktop/unix/native/common/java2d/opengl/GLXGraphicsConfig.c	Mon Oct 13 09:09:41 2014 -0700
@@ -398,8 +398,8 @@
 static GLXPbuffer
 GLXGC_InitScratchPbuffer(GLXFBConfig fbconfig)
 {
-    int pbattrlist[] = {GLX_PBUFFER_WIDTH, 1,
-                        GLX_PBUFFER_HEIGHT, 1,
+    int pbattrlist[] = {GLX_PBUFFER_WIDTH, 4,
+                        GLX_PBUFFER_HEIGHT, 4,
                         GLX_PRESERVED_CONTENTS, GL_FALSE,
                         0};
 
--- a/test/java/awt/GraphicsDevice/CloneConfigsTest.java	Mon Oct 13 14:36:44 2014 +0400
+++ b/test/java/awt/GraphicsDevice/CloneConfigsTest.java	Mon Oct 13 09:09:41 2014 -0700
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug     6822057 7124400
+ * @bug     6822057 7124400 8059848
  *
  * @summary Test verifies that list of supported graphics configurations
  *          can not be changed via modification of elements of an array