JDK-8352650 : Some IR framework tests are failing after JDK-8314999
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2025-03-23
  • Updated: 2025-03-23
  • Resolved: 2025-03-23
Related Reports
Causes :  
Duplicate :  
Description
Violations (2)
--------------
 - IR Node "_#ALLOC#_" defined in class IRNode has no regex defined for compile phase PRINT_OPTO_ASSEMBLY.
   If you think this compile phase should be supported, update the mapping for "_#ALLOC#_" in class IRNode (i.e the static initializer block immediately following the definition of "_#ALLOC#_").
   Violation for IR rule 1 at public void ir_framework.tests.Basics.alloc2().
 - IR Node "_#ALLOC#_" defined in class IRNode has no regex defined for compile phase PRINT_OPTO_ASSEMBLY.
   If you think this compile phase should be supported, update the mapping for "_#ALLOC#_" in class IRNode (i.e the static initializer block immediately following the definition of "_#ALLOC#_").
   Violation for IR rule 1 at public void ir_framework.tests.Basics.alloc().
/============/
	at compiler.lib.ir_framework.shared.TestFormat.throwIfAnyFailures(TestFormat.java:85)
	at compiler.lib.ir_framework.driver.irmatching.parser.TestClassParser.createTestClass(TestClassParser.java:75)
	at compiler.lib.ir_framework.driver.irmatching.parser.TestClassParser.parse(TestClassParser.java:63)
	at ir_framework.tests.TestPhaseIRMatching.run(TestPhaseIRMatching.java:71)
	at ir_framework.tests.TestPhaseIRMatching.main(TestPhaseIRMatching.java:61)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
	at java.base/java.lang.Thread.run(Thread.java:1447)

Tests affected so far:
- testlibrary_tests/ir_framework/tests/TestBadFormat.java
- testlibrary_tests/ir_framework/tests/TestPhaseIRMatching.java
-testlibrary_tests/ir_framework/tests/flag/TestCompileCommandFileWriter.java
- testlibrary_tests/ir_framework/tests/flag/TestCompilePhaseCollector.java

Failures on all platforms