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

[TESTBUG] Incompatible types conversion error in vmTestbase/vm/runtime/defmeth/StressTest.java after JDK-8243432

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • None
    • hotspot
    • b22

      * Reproduce
      ```
      Ben="vmTestbase/vm/runtime/defmeth/scenarios/Stress_noredefine/TestDescription.java vmTestbase/vm/runtime/defmeth/scenarios/Stress_redefine/TestDescription.java"
      make test TEST="${Ben}" CONF=server-release
      ```

      * Symptom
      ```
      jdk/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/StressTest.java:219: error: incompatible types: possible lossy conversion from long to int
                  seed = Utils.SEED;
                              ^
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      1 error

      TEST RESULT: Failed. Compilation failed: Compilation failed
      --------------------------------------------------
      Test results: failed: 1
      ```

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: