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

SPEC: LineEvent: unspecified IllegalArgumentException

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      generic
    • OS:
      generic

      Description


      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 -------------------------------------

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: