mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02: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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue