--- old/src/share/classes/javax/sound/midi/InvalidMidiDataException.java 2014-02-09 12:58:22.000000000 -0800
+++ new/src/share/classes/javax/sound/midi/InvalidMidiDataException.java 2014-02-09 12:58:22.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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,6 +39,7 @@
* @author Kara Kytle
*/
public class InvalidMidiDataException extends Exception {
+ private static final long serialVersionUID = 2780771756789932067L;
/**
* Constructs an InvalidMidiDataException
with
@@ -49,7 +50,6 @@
super();
}
-
/**
* Constructs an InvalidMidiDataException
with the
* specified detail message.
--- old/src/share/classes/javax/sound/midi/MidiUnavailableException.java 2014-02-09 12:58:23.000000000 -0800
+++ new/src/share/classes/javax/sound/midi/MidiUnavailableException.java 2014-02-09 12:58:23.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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,6 +39,7 @@
* @author Kara Kytle
*/
public class MidiUnavailableException extends Exception {
+ private static final long serialVersionUID = 6093809578628944323L;
/**
* Constructs a MidiUnavailableException
that has
@@ -49,7 +50,6 @@
super();
}
-
/**
* Constructs a MidiUnavailableException
with the
* specified detail message.
--- old/src/share/classes/javax/sound/sampled/AudioPermission.java 2014-02-09 12:58:23.000000000 -0800
+++ new/src/share/classes/javax/sound/sampled/AudioPermission.java 2014-02-09 12:58:23.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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
@@ -27,7 +27,6 @@
import java.security.BasicPermission;
-
/**
* The AudioPermission
class represents access rights to the audio
* system resources. An AudioPermission
contains a target name
@@ -76,134 +75,8 @@
* @author Kara Kytle
* @since 1.3
*/
-/*
- * (OLD PERMISSIONS TAKEN OUT FOR 1.2 BETA)
- *
- *
- *
- * @author Kara Kytle
- * @since 1.3
- */
-
-/*
- * The AudioPermission
class represents access rights to the audio
- * system resources. An AudioPermission
contains a target name
- * but no actions list; you either have the named permission or you don't.
- *
- * The target name is the name of the audio permission (see the table below). - * The names follow the hierarchical property-naming convention. Also, an asterisk - * can be used to represent all the audio permissions. - *
- * The following table lists all the possible AudioPermission target names. - * For each name, the table provides a description of exactly what that permission - * allows, as well as a discussion of the risks of granting code the permission. - *
- * - *
Permission Target Name | - *What the Permission Allows | - *Risks of Allowing this Permission | - *
---|---|---|
play | - *Audio playback through the audio device or devices on the system. | - *Allows the application to use a system device. Can affect other applications, - * because the result will be mixed with other audio being played on the system. | - *
record | - *Recording audio from the audio device or devices on the system, - * commonly through a microphone. | - *Can enable an applet or application to eavesdrop on a user. | - *
playback device access | - *Direct access to the audio playback device(s), including configuration of the - * playback format, volume, and balance, explicit opening and closing of the device, - * etc. | - *Changes the properties of a shared system device and therefore - * can affect other applications. | - *
playback device override | - *Manipulation of the audio playback device(s) in a way that directly conflicts - * with use by other applications. This includes closing the device while it is in - * use by another application, changing the device format while another application - * is using it, etc. | - *Changes the properties of a shared system device and therefore - * can affect other applications. | - *
record device access | - *Direct access to the audio recording device(s), including configuration of the - * the record format, volume, and balance, explicit opening and closing of the device, - * etc. | - *Changes the properties of a shared system device and therefore - * can affect other applications. | - *
record device override | - *Manipulation of the audio recording device(s) in a way that directly conflicts - * with use by other applications. This includes closing the device while it is in - * use by another application, changing the device format while another application - * is using it, etc. | - *Changes the properties of a shared system device and therefore - * can affect other applications. | - *
- *
- * @author Kara Kytle
- */
-
public class AudioPermission extends BasicPermission {
+ private static final long serialVersionUID = -5518053473477801126L;
/**
* Creates a new AudioPermission
object that has the specified
--- old/src/share/classes/javax/sound/sampled/LineEvent.java 2014-02-09 12:58:24.000000000 -0800
+++ new/src/share/classes/javax/sound/sampled/LineEvent.java 2014-02-09 12:58:24.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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
@@ -46,6 +46,7 @@
* @serial exclude
*/
public class LineEvent extends java.util.EventObject {
+ private static final long serialVersionUID = -1274246333383880410L;
// INSTANCE VARIABLES
--- old/src/share/classes/javax/sound/sampled/LineUnavailableException.java 2014-02-09 12:58:25.000000000 -0800
+++ new/src/share/classes/javax/sound/sampled/LineUnavailableException.java 2014-02-09 12:58:24.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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
@@ -44,6 +44,7 @@
*/
public class LineUnavailableException extends Exception {
+ private static final long serialVersionUID = -2046718279487432130L;
/**
* Constructs a LineUnavailableException
that has
@@ -54,7 +55,6 @@
super();
}
-
/**
* Constructs a LineUnavailableException
that has
* the specified detail message.
--- old/src/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java 2014-02-09 12:58:25.000000000 -0800
+++ new/src/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java 2014-02-09 12:58:25.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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
@@ -33,15 +33,8 @@
* @author Kara Kytle
* @since 1.3
*/
-/*
- * An UnsupportedAudioFileException
is an exception indicating that an
- * operation failed because a file did not contain valid data of a recognized file
- * type and format.
- *
- * @author Kara Kytle
- */
-
public class UnsupportedAudioFileException extends Exception {
+ private static final long serialVersionUID = -139127412623160368L;
/**
* Constructs a UnsupportedAudioFileException
that has
@@ -52,7 +45,6 @@
super();
}
-
/**
* Constructs a UnsupportedAudioFileException
that has
* the specified detail message.