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

java/util/Properties/LoadAndStoreXMLWithDefaults.java fails after JDK-8252354

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      STDERR:
      java.lang.ClassCastException: Keys and values in Properties must be Strings
      at java.base/jdk.internal.util.xml.PropertiesDefaultHandler.store(PropertiesDefaultHandler.java:122)
      at java.base/java.util.Properties.storeToXML(Properties.java:1107)
      at java.base/java.util.Properties.storeToXML(Properties.java:1007)
      at LoadAndStoreXMLWithDefaults.writeToXML(LoadAndStoreXMLWithDefaults.java:40)
      at LoadAndStoreXMLWithDefaults.main(LoadAndStoreXMLWithDefaults.java:85)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: