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

[BACKOUT] 8222489 jcmd VM.system_properties gives unusable paths on Windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following tests are failing in the JDK15 CI:

      jdk/jfr/api/consumer/streaming/TestRepositoryProperty.java
      jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java
      jdk/jfr/api/consumer/streaming/TestRepositoryProperty.java
      jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java
      com/sun/tools/attach/TempDirTest.java
      com/sun/tools/attach/BasicTests.java
      com/sun/tools/attach/BasicTests.java
      com/sun/tools/attach/TempDirTest.java
      vmTestbase/nsk/aod/AttachProvider/AttachProvider02/AttachProvider02.java
      vmTestbase/nsk/aod/VirtualMachine/VirtualMachine04/VirtualMachine04.java


      Here's a snippet from the TestCrossProcessStreaming.java log file:

      ----------System.err:(17/1214)*----------
      java.lang.IllegalArgumentException: Malformed \\uxxxx encoding.
      at java.base/java.util.Properties.loadConvert(Properties.java:672)
      at java.base/java.util.Properties.load0(Properties.java:456)
      at java.base/java.util.Properties.load(Properties.java:408)
      at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.getSystemProperties(HotSpotVirtualMachine.java:191)
      at jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming.getJfrRepository(TestCrossProcessStreaming.java:171)
      at jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming.main(TestCrossProcessStreaming.java:86)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.IllegalArgumentException
      JavaTest Message: shutting down test

      ----------System.out:(2/1776)*----------
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-549\\windows-x64-debug.jdk\\jdk-15\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\3\\jdk\\jfr\\api\\consumer\\streaming\\TestCrossProcessStreaming.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-549\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\3\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\3\\test\\jdk;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\jtreg.jar -XX:StartFlightRecording jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming$EventProducer ]
      [Event-Producer]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-549\\windows-x64-debug.jdk\\jdk-15\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\3\\jdk\\jfr\\api\\consumer\\streaming\\TestCrossProcessStreaming.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-549\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\3\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\3\\test\\jdk;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\jtreg.jar -XX:StartFlightRecording jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming$EventProducer
      result: Failed. Execution failed: `main' threw exception: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.


      test result: Failed. Execution failed: `main' threw exception: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sspitsyn Serguei Spitsyn
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: