flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liya Fan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-12102) FlinkILoopTest fails on Java 9
Date Tue, 09 Apr 2019 10:38:06 GMT

    [ https://issues.apache.org/jira/browse/FLINK-12102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813249#comment-16813249
] 

Liya Fan commented on FLINK-12102:
----------------------------------

This should be caused by PowerMock, which tries to invoke some methods by reflection. For
example:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.powermock.reflect.internal.WhiteboxImpl (file:/home/hadoop/.m2/repository/org/powermock/powermock-reflect/2.0.0-RC.4/powermock-reflect-2.0.0-RC.4.jar)
to method java.lang.Object.clone()
WARNING: Please consider reporting this to the maintainers of org.powermock.reflect.internal.WhiteboxImpl
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access
operations
WARNING: All illegal access operations will be denied in a future release

This problem also occurs with JDK11:

[https://github.com/powermock/powermock/issues/969]

However, it seems that the authors of PowerMock have no attempt to fix it:

[https://github.com/powermock/powermock/issues/864]

 

 

 

> FlinkILoopTest fails on Java 9
> ------------------------------
>
>                 Key: FLINK-12102
>                 URL: https://issues.apache.org/jira/browse/FLINK-12102
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Scala Shell
>            Reporter: Chesnay Schepler
>            Assignee: Liya Fan
>            Priority: Major
>             Fix For: 1.9.0
>
>
> {code}
> java.lang.NullPointerException
> 	at org.apache.flink.api.java.FlinkILoopTest.testConfigurationForwarding(FlinkILoopTest.java:89)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message