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

Ismaël Mejía commented on BEAM-5526:
------------------------------------

Noted above, for reference the umbrella ticket for Java 11 is BEAM-2530

> Make ByteBuddyDoFnInvokerFactory injection strategy configurable + drop the 
> singleton
> -------------------------------------------------------------------------------------
>
>                 Key: BEAM-5526
>                 URL: https://issues.apache.org/jira/browse/BEAM-5526
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Romain Manni-Bucau
>            Priority: Major
>
> org.apache.beam.sdk.transforms.reflect.DoFnInvokers + DoFnInvokerFactory 
> design is to be a SPI to let user plug their own bytecode manipulation 
> library, however in practise beam uses ByteBuddyDoFnInvokerFactory as a 
> singleton which makes all this design useless.
> ByteBuddyDoFnInvokerFactory is also not configurable at all - typically the 
> injection strategy so it assumes it runs in an environment and on a JVM where 
> it will work - it does not on java 11 for instance.
> This ticket is about fixing all these small inconsistency and blocker to tun 
> on java 11.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to