--- /dev/null	2010-06-29 11:10:08.737208357 +0200
+++ openjdk/jdk/test/sun/java2d/OpenGL/OpenGLContextInit.java	2010-09-01 16:27:44.000000000 +0200
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2010 Red Hat, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+
+/*
+ * @test
+ * @bug 6755274 6791612
+ * @summary This test check if OpenGL context is properly initialized.
+ * @run main/othervm -Dsun.java2d.opengl=True OpenGLContextInit -ignore
+ * @author ptisnovs
+ */
+
+import javax.swing.JFrame;
+
+public class OpenGLContextInit extends JFrame {
+    public OpenGLContextInit()
+    {
+        System.out.println("Nothing happens");
+    }
+
+    public static void main(String[] args)
+    {
+        OpenGLContextInit t = new OpenGLContextInit();
+        System.out.println("Test Passed.");
+    }
+}
+
