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

[TESTBUG] serviceability/sa/ClhsdbWhere.java fails to find method 'sleep' in output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • hotspot
    • b38

        Test serviceability/sa/ClhsdbWhere.java invokes sa and expect to find 'sleep' in output.
        It fails because lingered app created the file and not slept while sa was invoked. So stacktrace is:
        Java Stack Trace for main
        Thread state = IN_NATIVE
         - static native void SetFileTime(long, long, long, long) @0x000000e501b2b570 @bci = 0, pc = 0x000000e564f67d8f (Interpreted)

         - void setFileTimes(long, long, long) @0x000000e501b6ef28 @bci = 63, line = 96, pc = 0x000000e564f5a423, oop = 0x0000000714069390 (Interpreted)

         - public void setTimes(java.nio.file.attribute.FileTime, java.nio.file.attribute.FileTime, java.nio.file.attribute.FileTime) @0x000000e501b6f080 @bci = 75, line = 149, pc = 0x000000e564f5a423, oop = 0x0000000714069390 (Interpreted)

         - public static java.nio.file.Path setLastModifiedTime(java.nio.file.Path, java.nio.file.attribute.FileTime) @0x000000e501b20b30 @bci = 22, line = 2346, pc = 0x000000e564f5a468 (Interpreted)

         - private static void setLastModified(java.lang.String, long) @0x000000e501b919a0 @bci = 18, line = 184, pc = 0x000000e564f5a1a0 (Interpreted)

         - public static void main(java.lang.String[]) @0x000000e501b92a28 @bci = 47, line = 477, pc = 0x000000e564f5a423 (Interpreted)


              sballal Sharath Ballal (Inactive)
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: