Skip to content

cmdLineTester_reflectCache seesm to not work on jdk25 #6768

@judovana

Description

@judovana
    [javac]   where CAP#1 is a fresh type-variable:
    [javac]     CAP#1 extends Object from capture of ?
    [javac] /home/tester/aqa-tests/functional/cmdLineTests/reflectCache/src_15/test/reflectCache/Test_ReflectCache.java:107: error: cannot find symbol
    [javac] 			rootObject2 = unsafe.getObject(testConstructorB, constructorRootOffset);
    [javac] 			                    ^
    [javac]   symbol:   method getObject(Constructor<CAP#1>,long)
    [javac]   location: variable unsafe of type Unsafe
    [javac]   where CAP#1 is a fresh type-variable:
    [javac]     CAP#1 extends Object from capture of ?
    [javac] 8 errors

Considering the fate of unsafe.. Maybe to disable them?

I guess the fix willg o to https://github.com/eclipse-openj9/openj9/blob/master/test/functional/cmdLineTests/reflectCache/ ?

eg:

it diff
diff --git a/test/functional/cmdLineTests/reflectCache/playlist.xml b/test/functional/cmdLineTests/reflectCache/playlist.xml
index 805a907122..9050909df8 100644
--- a/test/functional/cmdLineTests/reflectCache/playlist.xml
+++ b/test/functional/cmdLineTests/reflectCache/playlist.xml
@@ -24,6 +24,12 @@
        <include>../variables.mk</include>
        <test>
                <testCaseName>cmdLineTester_reflectCache</testCaseName>
+               <disables>
+                       <disable>
+                               <comment>thisIssue</comment>
+                               <version>25+</version>
+                       </disable>
+               </disables>
                <variations>
                        <variation>NoOptions</variation>
                </variations>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions