mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 22:05:31 +00:00
7003434: test/closed/java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java fails with ClassCastExc
Reviewed-by: jgodinez, prr
This commit is contained in:
parent
0370a1df6b
commit
ec54e400ee
@ -133,7 +133,9 @@ public class WGLVolatileSurfaceManager
|
||||
|
||||
@Override
|
||||
protected boolean isConfigValid(GraphicsConfiguration gc) {
|
||||
return ((gc == null) || (gc == vImg.getGraphicsConfig()));
|
||||
return ((gc == null) ||
|
||||
((gc instanceof WGLGraphicsConfig) &&
|
||||
(gc == vImg.getGraphicsConfig())));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user