[
https://issues.apache.org/jira/browse/AMBARI-26325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935312#comment-17935312
]
Wei-Chiu Chuang commented on AMBARI-26325:
------------------------------------------
As far as I can tell, even the latest PR (a few hours ago) is having the same
problem unresolved.
https://github.com/apache/ambari-metrics/actions/runs/13829793675/job/38694463093?pr=141
> IllegalAccessError: PowerMock is trying to access JDK internal classes
> ----------------------------------------------------------------------
>
> Key: AMBARI-26325
> URL: https://issues.apache.org/jira/browse/AMBARI-26325
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Reporter: Wei-Chiu Chuang
> Priority: Major
>
> [~adoroszlai] submitted a PR to fix an unrelated Ambari Metrics bug and it is
> failing for PowerMock problems:
> https://github.com/apache/ambari-metrics/actions/runs/12330045488/job/34415053674?pr=138
> {noformat}
> Caused by: java.lang.IllegalAccessError: class
> jdk.internal.reflect.ConstructorAccessorImpl loaded by
> org.powermock.core.classloader.MockClassLoader @2bea5ab4 cannot access
> jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl
> {noformat}
> I believe this is because Ambari is run with JDK17 now.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]