JDK 12 RFR of JDK-8208782: Remove extra type in throws clause of SerialClob.writeObject
Joseph D. Darcy
joe.darcy at oracle.com
Fri Aug 3 21:47:58 UTC 2018
Hello,
The fix for JDK-8208060, Additional corrections of serial-related
declarations, overlooked an extra type in the throws clause of
javax.sql.rowset.serial.SerialClob.writeObject. The extra type should be
removed.
Patch below.
Thanks,
-Joe
---
old/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialClob.java
2018-08-03 14:45:17.977105996 -0700
+++
new/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialClob.java
2018-08-03 14:45:17.453105982 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights
reserved.
+ * Copyright (c) 2003, 2018, 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
@@ -663,7 +663,7 @@
* to a stream.
*/
private void writeObject(ObjectOutputStream s)
- throws IOException, ClassNotFoundException {
+ throws IOException {
ObjectOutputStream.PutField fields = s.putFields();
fields.put("buf", buf);
More information about the core-libs-dev
mailing list