diff --git a/src/share/classes/javax/script/ScriptException.java b/src/share/classes/javax/script/ScriptException.java
index 6ad481085f7c1402d74ff6b7e93fb58c459ef7a0..e9ffaabb220e69a0c94bfd4d6acd558be5e41b8e 100644
--- a/src/share/classes/javax/script/ScriptException.java
+++ b/src/share/classes/javax/script/ScriptException.java
@@ -36,6 +36,8 @@ package javax.script;
*/
public class ScriptException extends Exception {
+ private static final long serialVersionUID = 8265071037049225001L;
+
private String fileName;
private int lineNumber;
private int columnNumber;
diff --git a/src/share/classes/javax/xml/crypto/NodeSetData.java b/src/share/classes/javax/xml/crypto/NodeSetData.java
index a34302acfe321b388f7794f9c9f191bcea7b98b4..d83572993305a9209b340916b06bf7657489266a 100644
--- a/src/share/classes/javax/xml/crypto/NodeSetData.java
+++ b/src/share/classes/javax/xml/crypto/NodeSetData.java
@@ -52,5 +52,6 @@ public interface NodeSetData extends Data {
* @return an Iterator
over the nodes in this
* NodeSetData
in document order
*/
+ @SuppressWarnings("rawtypes")
Iterator iterator();
}
diff --git a/src/share/classes/javax/xml/crypto/dom/DOMCryptoContext.java b/src/share/classes/javax/xml/crypto/dom/DOMCryptoContext.java
index 79f72940148b6e3f0d22e5dfbce00c0aa7a81788..d13f384ba5a062c629e0801542dc5b8cbf19c275 100644
--- a/src/share/classes/javax/xml/crypto/dom/DOMCryptoContext.java
+++ b/src/share/classes/javax/xml/crypto/dom/DOMCryptoContext.java
@@ -47,13 +47,13 @@ import org.w3c.dom.Element;
*/
public class DOMCryptoContext implements XMLCryptoContext {
- private HashMap nsMap = new HashMap();
- private HashMap idMap = new HashMap();
- private HashMap objMap = new HashMap();
+ private HashMap nsMap = new HashMap<>();
+ private HashMap idMap = new HashMap<>();
+ private HashMap