diff --git a/jdk/src/share/classes/javax/sound/midi/InvalidMidiDataException.java b/jdk/src/share/classes/javax/sound/midi/InvalidMidiDataException.java
index 4199a2b79af..ed20121fab8 100644
--- a/jdk/src/share/classes/javax/sound/midi/InvalidMidiDataException.java
+++ b/jdk/src/share/classes/javax/sound/midi/InvalidMidiDataException.java
@@ -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 @@ package javax.sound.midi;
* @author Kara Kytle
*/
public class InvalidMidiDataException extends Exception {
+ private static final long serialVersionUID = 2780771756789932067L;
/**
* Constructs an InvalidMidiDataException with
@@ -49,7 +50,6 @@ public class InvalidMidiDataException extends Exception {
super();
}
-
/**
* Constructs an InvalidMidiDataException with the
* specified detail message.
diff --git a/jdk/src/share/classes/javax/sound/midi/MidiUnavailableException.java b/jdk/src/share/classes/javax/sound/midi/MidiUnavailableException.java
index 0a7191e165c..85ace347d8b 100644
--- a/jdk/src/share/classes/javax/sound/midi/MidiUnavailableException.java
+++ b/jdk/src/share/classes/javax/sound/midi/MidiUnavailableException.java
@@ -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 @@ package javax.sound.midi;
* @author Kara Kytle
*/
public class MidiUnavailableException extends Exception {
+ private static final long serialVersionUID = 6093809578628944323L;
/**
* Constructs a MidiUnavailableException that has
@@ -49,7 +50,6 @@ public class MidiUnavailableException extends Exception {
super();
}
-
/**
* Constructs a MidiUnavailableException with the
* specified detail message.
diff --git a/jdk/src/share/classes/javax/sound/sampled/AudioPermission.java b/jdk/src/share/classes/javax/sound/sampled/AudioPermission.java
index a265544d590..4e7dcef9602 100644
--- a/jdk/src/share/classes/javax/sound/sampled/AudioPermission.java
+++ b/jdk/src/share/classes/javax/sound/sampled/AudioPermission.java
@@ -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 @@ package javax.sound.sampled;
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 @@ import java.security.BasicPermission;
* @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
diff --git a/jdk/src/share/classes/javax/sound/sampled/LineEvent.java b/jdk/src/share/classes/javax/sound/sampled/LineEvent.java
index d94c757de91..ff5b90f1ba1 100644
--- a/jdk/src/share/classes/javax/sound/sampled/LineEvent.java
+++ b/jdk/src/share/classes/javax/sound/sampled/LineEvent.java
@@ -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 @@ package javax.sound.sampled;
* @serial exclude
*/
public class LineEvent extends java.util.EventObject {
+ private static final long serialVersionUID = -1274246333383880410L;
// INSTANCE VARIABLES
diff --git a/jdk/src/share/classes/javax/sound/sampled/LineUnavailableException.java b/jdk/src/share/classes/javax/sound/sampled/LineUnavailableException.java
index c63f9adcd01..1e72f75061e 100644
--- a/jdk/src/share/classes/javax/sound/sampled/LineUnavailableException.java
+++ b/jdk/src/share/classes/javax/sound/sampled/LineUnavailableException.java
@@ -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 @@ package javax.sound.sampled;
*/
public class LineUnavailableException extends Exception {
+ private static final long serialVersionUID = -2046718279487432130L;
/**
* Constructs a LineUnavailableException that has
@@ -54,7 +55,6 @@ public class LineUnavailableException extends Exception {
super();
}
-
/**
* Constructs a LineUnavailableException that has
* the specified detail message.
diff --git a/jdk/src/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java b/jdk/src/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java
index 56690b5a495..45acd480f35 100644
--- a/jdk/src/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java
+++ b/jdk/src/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java
@@ -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 @@ package javax.sound.sampled;
* @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 @@ public class UnsupportedAudioFileException extends Exception {
super();
}
-
/**
* Constructs a UnsupportedAudioFileException that has
* the specified detail message.