[
https://issues.apache.org/jira/browse/BEAM-14117?focusedWorklogId=757190&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-757190
]
ASF GitHub Bot logged work on BEAM-14117:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Apr/22 20:00
Start Date: 14/Apr/22 20:00
Worklog Time Spent: 10m
Work Description: cushon commented on PR #17317:
URL: https://github.com/apache/beam/pull/17317#issuecomment-1099574831
R: @kennknowles
Issue Time Tracking
-------------------
Worklog Id: (was: 757190)
Remaining Estimate: 0h
Time Spent: 10m
> Unvendor bytebuddy dependency
> -----------------------------
>
> Key: BEAM-14117
> URL: https://issues.apache.org/jira/browse/BEAM-14117
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Liam Miller-Cushon
> Priority: P2
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Vendoring the bytebuddy dep was introduced in
> https://issues.apache.org/jira/browse/BEAM-1019:
> {quote}We encountered backward incompatible changes in bytebuddy during
> upgrading to Mockito 2.0.
> Shading bytebuddy helps to address them and future issues.
> {quote}
> This makes it harder to upgrade the bytebuddy version (e.g.
> https://issues.apache.org/jira/browse/BEAM-14065,
> https://issues.apache.org/jira/browse/BEAM-12241).
> Vendoring or shading bytebuddy is discouraged by the upstream owners of the
> library, see e.g. [https://github.com/assertj/assertj-core/issues/2470] where
> assertj was migrated off a shaded version:
> {quote}As Byte Buddy retains compatibility, not shading the library would
> allow running recent JVMs without an update of assertj but only BB. Other
> libraries like Mockito or Hibernate do not shade BB and there are no known
> issues with this approach. In case of an error, stack traces would also be
> easier to process as break points remain intact.
> {quote}
> Does anyone remember additional context about the issues encountered during
> the mockito 2.0 upgrade? Would there be any interest in trying to unvendor
> bytebuddy? I'm happy to help route issues to the upstream bytebuddy and
> mockito projects, in general I think they want to support making it possible
> to use bytebuddy without shading it.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)