[
https://issues.apache.org/jira/browse/BEAM-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679304#comment-16679304
]
Keisuke Kondo commented on BEAM-6007:
-------------------------------------
[~iemejia]
Hi, I can start this task.
Before going to implementation, let me ask a question.
I plan to create new class which generates ClassLoadingStrategy like similar
class in assertj because ClassLoadingStrategy is used in some packages in beam.
But, problem is that this exposes related interfaces in byte-buddy and cannnot
pass current ApiSurfaceTest.
How should I handle internal-only method like this in beam?
> Create ClassLoadingStrategy with Java 11 compatible way
> -------------------------------------------------------
>
> Key: BEAM-6007
> URL: https://issues.apache.org/jira/browse/BEAM-6007
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Keisuke Kondo
> Assignee: Keisuke Kondo
> Priority: Minor
>
> Since sun.misc.Unsafe API was deprecated in Java 11,
>
> {code:java}
> ClassLoadingStrategy.Default.INJECTION{code}
> is not work with Java 11.
> Author of byte-buddy library shared way to make it compatible with Java 11 on
> his blog post. (and way to keep compatibility with java 9 and prior version)
> [http://mydailyjava.blogspot.com/2018/04/jdk-11-and-proxies-in-world-past.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)