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

tools/launcher/TestSpecialArgs.java fails on all platforms with Error: invalid param not checked by JVM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • 9
    • 8u40, 9
    • hotspot

      tools/launcher/TestSpecialArgs.java start failing in jdk9-dev nightly since 2014-08-19 on all platforms with Error: invalid param not checked by JVM.

      Might this related to JDK-8046598 was integrated?

      java version "1.9.0-ea"
      Java(TM) SE Runtime Environment (build 1.9.0-ea-langtools-nightly-h1168-20140819-b27)
      Java HotSpot(TM) Client VM (build 1.9.0-ea-langtools-nightly-h1168-20140819-b27, mixed mode)

      Error message from test log:

      Executed command: /Users/aurora/CommonData/jdk/bin/java -XX:NativeMemoryTracking= -version

      ###TestError###: string <NativeMemoryTracking:> not found
      ###TestError###: string <Syntax error, expecting -XX:NativeMemoryTracking=> not found
      ++++Begin Test Info++++
      Test Status: FAIL

      ...
      ----------System.err:(12/636)----------
      java.lang.RuntimeException: Error: invalid param not checked by JVM
      at TestSpecialArgs.main(TestSpecialArgs.java:178)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:759)
      at java.lang.Thread.run(Thread.java:745)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error: invalid param not checked by JVM

            asmotrak Artem Smotrakov
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: