Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8019975

closed/javax/swing/JFileChooser/4966171/bug4966171.java throws java.io.NotSerializableException: javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b96
    • Resolved In Build:
      b102
    • OS:
      windows_2008
    • Verification:
      Verified

      Description

      test passes on jdk1.8.0b95 and jdk1.7.0_25b17 but fails on jdk1.8.0b96 with exception

      java.io.NotSerializableException: javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:439)
      at javax.swing.JFileChooser.writeObject(JFileChooser.java:1880)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
      at bug4966171.main(bug4966171.java:18)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
      at java.lang.Thread.run(Thread.java:724)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              malenkov Sergey Malenkov (Inactive)
              Reporter:
              asakharu Aleksandr Sakharuk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: