JDK-8194310 : [TESTBUG] remove/modify compiler tests which use java ee or corba modules
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11
  • Priority: P5
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2018-01-02
  • Updated: 2021-10-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8197959 :  
JDK-8197960 :  
JDK-8197961 :  
Description
As part of the removal of the Java EE and CORBA modules, there are several Hotspot tests that will need to be reviewed to determine if they should be updated or just removed as part of the removal of the Java EE CORBA modules.

The current list of open tests include:
runtime/appcds/jigsaw/classpathtests/ClassPathTests.java                       
runtime/appcds/jigsaw/overridetests/OverrideTests.java 
runtime/SharedArchiveFile/BootAppendTests.java                                 
runtime/modules/PatchModule/PatchModuleClassList.java                          
compiler/c2/Test8007294.java



The following open tests appear to be able to removed:

test/hotspot/jtreg/applications/ctw/modules/java_activation.java
test/hotspot/jtreg/applications/ctw/modules/java_corba.java
test/hotspot/jtreg/applications/ctw/modules/java_transaction.java
test/hotspot/jtreg/applications/ctw/modules/java_xml_bind.java
test/hotspot/jtreg/applications/ctw/modules/java_xml_ws.java
test/hotspot/jtreg/applications/ctw/modules/java_xml_ws_annotation.java
test/hotspot/jtreg/applications/ctw/modules/jdk_xml_bind.java
test/hotspot/jtreg/applications/ctw/modules/jdk_xml_ws.java
test/hotspot/jtreg/compiler/c2/Test6852078.java
Comments
ILW = failure of compiler test depending on deprecated modules; test bug, single test to be removed of modified; none = LLH = P5
21-06-2018

moving to compiler, the remaining affected tests are: compiler/c2/Test6852078.java
20-06-2018

Assigning to Igor since he has already triaged this issue and opened relevant enhancements under "runtime" Subcomponent. This now is only a placeholder
08-03-2018

I didn't think it's that urgent, as I was under impression that the tests will be problem listed by the changeset which removed modules.
14-02-2018

The subtasks were not created!.
14-02-2018

[~dholmes], I will create a subtask for each affected component.
08-02-2018

The "test" subcomponent is intended for testing infrastructure related issues. Individual test issues should be filed under their respective owning component - else no one will see this bug that needs to know about it!
08-02-2018

With the CORBA and Java EE modules removal changes, the following tests will be removed as part of JDK-8190378 test/hotspot/jtreg/applications/ctw/modules/java_activation.java test/hotspot/jtreg/applications/ctw/modules/java_corba.java test/hotspot/jtreg/applications/ctw/modules/java_transaction.java test/hotspot/jtreg/applications/ctw/modules/java_xml_bind.java test/hotspot/jtreg/applications/ctw/modules/java_xml_ws.java test/hotspot/jtreg/applications/ctw/modules/java_xml_ws_annotation.java test/hotspot/jtreg/applications/ctw/modules/jdk_xml_bind.java test/hotspot/jtreg/applications/ctw/modules/jdk_xml_ws.java test/hotspot/jtreg/compiler/c2/Test6852078.java I have added the following to Problem.list runtime/appcds/jigsaw/classpathtests/ClassPathTests.java 8194310 generic-all Java EE Module Removal runtime/appcds/jigsaw/overridetests/OverrideTests.java 8194310 generic-all Java EE Module Removal runtime/SharedArchiveFile/BootAppendTests.java 8194310 generic-all Java EE Module Removal runtime/modules/PatchModule/PatchModuleClassList.java 8194310 generic-all Java EE Module Removal compiler/c2/Test8007294.java 8194310 generic-all Java EE Module Removal compiler/c2/Test6852078.java 8194310 generic-all Java EE Module Removal runtime/AppCDS/HelloExtTest.java 8194310 generic-all Java EE Module Removal runtime/AppCDS/javaldr/CheckAnonymousClass.java 8194310 generic-all Java EE Module Removal
01-02-2018

OK, will make that change.
31-01-2018

I understand that Test6852078 won't that after corba module is removed, I'd prefer to have it in ProblemList, so we will have a chance to rework it.
31-01-2018

The test/hotspot/jtreg/compiler/c2/Test6852078.java uses CorbaUtils.getOrb so it will either need rewritten or removed. I can add it to the Problem.list if you prefer
31-01-2018

ProblemList should use the id of the bug which will fix the tests, not the id of the bug whose integration caused problem listing these tests.
31-01-2018

I ain't sure if we can remove test/hotspot/jtreg/compiler/c2/Test6852078.java as it's a regression test for a bug in JDK-6852078 and removing any modules shouldn't affect regression testing of hotspot.
31-01-2018