--- a/jdk/src/java.desktop/share/classes/com/sun/media/sound/AbstractLine.java Mon May 16 22:57:40 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/com/sun/media/sound/AbstractLine.java Wed May 18 20:40:17 2016 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2016, Oracle and/or its affiliates. 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
@@ -47,7 +47,7 @@
protected final Line.Info info;
protected Control[] controls;
AbstractMixer mixer;
- private boolean open = false;
+ private volatile boolean open;
private final Vector<Object> listeners = new Vector<>();
/**