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

[test] The order of jar and jnlp in cache viewer is not correct

    Details

      Description

      According to our tests: doJcpTest(newUserLevelCacheViewerXmlBuilder().selectCachedItemType(JavaCachedItemType.RESOURCES).
                                                   confirmResourceIsShowedAtRow(1, jnlp).
                                                   confirmResourceIsShowedAtRow(0, jar).build());
      Jar file is the first item in cache viewer-> Resources. But on win7/x86, the first item is jnlp file.

      The correct fix will be make no assumption about the order of resources, by adding command that looks for raw without specifying raw index.

      Affected tests:
      RULE JavaCacheViewerSystemLevelTest::testImportedLocalJnlpAppShowesInResourcesTable any any
      RULE JavaCacheViewerUserLevelTest::testImportedLocalJnlpAppShowesInResourcesTable any any

        Attachments

          Activity

            People

            • Assignee:
              stephenh Stephen Hu (Inactive)
              Reporter:
              wenjyang Crystal Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: