JDK 12 RFR of JDK-8208782: Remove extra type in throws clause of SerialClob.writeObject
Lance Andersen
lance.andersen at oracle.com
Fri Aug 3 21:52:02 UTC 2018
Hi Joe,
Looks fine. Sorry I missed it also
Best
Lance
> On Aug 3, 2018, at 5:47 PM, Joseph D. Darcy <joe.darcy at oracle.com> wrote:
>
> 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);
>
<http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
More information about the core-libs-dev
mailing list