Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4798000

SPEC: LineEvent: unspecified IllegalArgumentException

XMLWordPrintable

    • b28
    • generic
    • generic


      Name: dkR10031 Date: 12/26/2002



      The current reference implementation (JDK 1.4.2beta, build b11)
      of the javax.sound.sampled.LineEvent.LineEvent(Line line,
      LineEvent.Type type, long position) throws unspecified
      IllegalArgumentException:
      ------------------ example code begin --------------------------
      import javax.sound.sampled.LineEvent;

      public class MyLineEvent{
          public static void main(String args[]){
              try {
                  LineEvent le = new LineEvent(null, null, 10l);
              } catch (Exception e){
                  System.out.println("Exception: " + e);
              }
          }
      }
      ------------------ example code end ----------------------------
      ------------------ log begin -----------------------------------
      bash-2.03$ uname -a
      SunOS novo101 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-1
      bash-2.03$ /export/ld25/java/dest/jdk1.4.2-b11/solaris-sparc/bin/java -showversion MyLineEvent
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b11)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b11, mixed mode)

      Exception: java.lang.IllegalArgumentException: null source
      ------------------ log end -------------------------------------

      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            dimasunw Dima Dima (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: