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

appcds/SharedArchiveConsistency.java fails intermittently with java.lang.NegativeArraySizeException

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • OS:
      windows

      Description

      Test case : open/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java

      OS : Failure only seen on Windows-debug (Windows-2016)
      Regression : Intermittent failure (can't say)


      Exception :

      2. Corrupt header, should fail

      offset_paths_misc_info_size = 744
      path_misc_info_size = -1296882632
      file_header_size = -1296881848
      file_header_size (aligned to page) = -1296879616
      ----------System.err:(14/922)----------
      java.lang.NegativeArraySizeException: -1296879616
      at SharedArchiveConsistency.modifyJsaHeader(SharedArchiveConsistency.java:248)
      at SharedArchiveConsistency.main(SharedArchiveConsistency.java:395)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vaibhav Vaibhav Choudhary
              Reporter:
              vaibhav Vaibhav Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: