Mercurial > hg > icedtea8-forest > jdk
changeset 14903:040629aab099
8256642: [TEST_BUG] jdk/test/javax/sound/midi/MidiSystem/DefaultProperties.java failed
Reviewed-by: zgu
Contributed-by: wangshuai94@huawei.com
author | dongbohe |
---|---|
date | Thu, 19 Nov 2020 21:13:03 +0800 |
parents | caf8b22e4fd7 |
children | 7208c8539f75 |
files | test/javax/sound/midi/MidiSystem/DefaultDevices.java test/javax/sound/midi/MidiSystem/DefaultProperties.java test/javax/sound/midi/MidiSystem/ProviderCacheing.java test/javax/sound/midi/MidiSystem/testdata/lib/conf/sound.properties test/javax/sound/midi/MidiSystem/testdata/lib/sound.properties test/javax/sound/sampled/AudioSystem/DefaultMixers.java test/javax/sound/sampled/AudioSystem/DefaultProperties.java test/javax/sound/sampled/AudioSystem/ProviderCacheing.java test/javax/sound/sampled/AudioSystem/testdata/lib/conf/sound.properties test/javax/sound/sampled/AudioSystem/testdata/lib/sound.properties |
diffstat | 10 files changed, 60 insertions(+), 66 deletions(-) [+] |
line wrap: on
line diff
--- a/test/javax/sound/midi/MidiSystem/DefaultDevices.java Fri Dec 11 12:33:16 2020 +0000 +++ b/test/javax/sound/midi/MidiSystem/DefaultDevices.java Thu Nov 19 21:13:03 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2020, 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 @@ -39,7 +39,6 @@ * @bug 4776511 * @bug 4934509 * @bug 4938236 - * @modules java.desktop/com.sun.media.sound * @run main/timeout=600 DefaultDevices * @summary RFE: Setting the default MixerProvider */
--- a/test/javax/sound/midi/MidiSystem/DefaultProperties.java Fri Dec 11 12:33:16 2020 +0000 +++ b/test/javax/sound/midi/MidiSystem/DefaultProperties.java Thu Nov 19 21:13:03 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2020, 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 @@ -31,7 +31,6 @@ * @summary RFE: Setting the default MixerProvider. Test the retrieving and * parsing of properties. This is a part of the test for 4776511. * @run main/othervm DefaultProperties - * @modules java.desktop/com.sun.media.sound */ public class DefaultProperties {
--- a/test/javax/sound/midi/MidiSystem/ProviderCacheing.java Fri Dec 11 12:33:16 2020 +0000 +++ b/test/javax/sound/midi/MidiSystem/ProviderCacheing.java Thu Nov 19 21:13:03 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2020, 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 @@ -30,7 +30,6 @@ * @bug 4776511 * @summary RFE: Setting the default MixerProvider. Test the cacheing of * providers. This is a part of the test for 4776511. - * @modules java.desktop/com.sun.media.sound */ public class ProviderCacheing {
--- a/test/javax/sound/midi/MidiSystem/testdata/lib/conf/sound.properties Fri Dec 11 12:33:16 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# -# Copyright (c) 2003, 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 -# 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. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# - -javax.sound.midi.Receiver=xyz#123 -javax.sound.midi.Transmitter=xyz#123 -javax.sound.midi.Sequencer=xyz#123 -javax.sound.midi.Synthesizer=xyz#123
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/javax/sound/midi/MidiSystem/testdata/lib/sound.properties Thu Nov 19 21:13:03 2020 +0800 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2003, 2020, 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 +# 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. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +javax.sound.midi.Receiver=xyz#123 +javax.sound.midi.Transmitter=xyz#123 +javax.sound.midi.Sequencer=xyz#123 +javax.sound.midi.Synthesizer=xyz#123
--- a/test/javax/sound/sampled/AudioSystem/DefaultMixers.java Fri Dec 11 12:33:16 2020 +0000 +++ b/test/javax/sound/sampled/AudioSystem/DefaultMixers.java Thu Nov 19 21:13:03 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2020, 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 @@ -41,7 +41,6 @@ * @bug 4776511 * @summary RFE: Setting the default MixerProvider. Test the retrieving of lines * with defaut mixer properties. - * @modules java.desktop/com.sun.media.sound */ public class DefaultMixers {
--- a/test/javax/sound/sampled/AudioSystem/DefaultProperties.java Fri Dec 11 12:33:16 2020 +0000 +++ b/test/javax/sound/sampled/AudioSystem/DefaultProperties.java Thu Nov 19 21:13:03 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2020, 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 @@ -32,7 +32,6 @@ * @run main/othervm DefaultProperties * @summary RFE: Setting the default MixerProvider. Test the retrieving and * parsing of properties. - * @modules java.desktop/com.sun.media.sound */ public class DefaultProperties {
--- a/test/javax/sound/sampled/AudioSystem/ProviderCacheing.java Fri Dec 11 12:33:16 2020 +0000 +++ b/test/javax/sound/sampled/AudioSystem/ProviderCacheing.java Thu Nov 19 21:13:03 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2020, 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 @@ -29,7 +29,6 @@ * @bug 4776511 * @summary RFE: Setting the default MixerProvider. Test the cacheing of * providers. - * @modules java.desktop/com.sun.media.sound */ public class ProviderCacheing {
--- a/test/javax/sound/sampled/AudioSystem/testdata/lib/conf/sound.properties Fri Dec 11 12:33:16 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# -# Copyright (c) 2003, 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 -# 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. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# - -javax.sound.sampled.SourceDataLine=xyz#123 -javax.sound.sampled.TargetDataLine=xyz#123 -javax.sound.sampled.Clip=xyz#123 -javax.sound.sampled.Port=xyz#123
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/javax/sound/sampled/AudioSystem/testdata/lib/sound.properties Thu Nov 19 21:13:03 2020 +0800 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2003, 2020, 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 +# 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. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +javax.sound.sampled.SourceDataLine=xyz#123 +javax.sound.sampled.TargetDataLine=xyz#123 +javax.sound.sampled.Clip=xyz#123 +javax.sound.sampled.Port=xyz#123