-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
generic
-
generic
Invoking inherited "open()" method on a Clip results in the following exception:
________________________________________
java.lang.IllegalArgumentException: This method should not have been invoked!
at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:457)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:87)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:383)
at test020.runTest(test020.java:47)
at test020.main(test020.java:78)
________________________________________
Although it is more appropriate to call one of Clip's own "open" methods, (both of which have signatures that are different than the inherited), JavaDoc states that resources for a clip with zero frames of data should be allocated.
To reproduce, see attached code.
###@###.### 2000-09-13
This problem was discovered in Merlin b30 but exists in jdk1.3 as well.
jerry.barnes@eng 2001-01-29
Removed from Ladybird project as per request.
Although this bug applies Ladybird as well as Merlin, there are no engineering resources to address it in the Ladybird project timeframe.
________________________________________
java.lang.IllegalArgumentException: This method should not have been invoked!
at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:457)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:87)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:383)
at test020.runTest(test020.java:47)
at test020.main(test020.java:78)
________________________________________
Although it is more appropriate to call one of Clip's own "open" methods, (both of which have signatures that are different than the inherited), JavaDoc states that resources for a clip with zero frames of data should be allocated.
To reproduce, see attached code.
###@###.### 2000-09-13
This problem was discovered in Merlin b30 but exists in jdk1.3 as well.
jerry.barnes@eng 2001-01-29
Removed from Ladybird project as per request.
Although this bug applies Ladybird as well as Merlin, there are no engineering resources to address it in the Ladybird project timeframe.
- duplicates
-
JDK-4479444 Clip.open() throws meaningless exception
-
- Closed
-