[ 
https://issues.apache.org/jira/browse/BEAM-3608?focusedWorklogId=184573&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-184573
 ]

ASF GitHub Bot logged work on BEAM-3608:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Jan/19 22:58
            Start Date: 12/Jan/19 22:58
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on issue #7494: [BEAM-3608] Port 
shaded Guava to vendored Guava
URL: https://github.com/apache/beam/pull/7494#issuecomment-453787411
 
 
   The only failure was SQL's JDBC driver which checked how many jars were on 
the classpath, since it is supposed to be self-contained. I have switched it 
back to bundling Guava, since that is required.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 184573)
    Time Spent: 8.5h  (was: 8h 20m)

> Vendor Guava
> ------------
>
>                 Key: BEAM-3608
>                 URL: https://issues.apache.org/jira/browse/BEAM-3608
>             Project: Beam
>          Issue Type: Sub-task
>          Components: runner-core, sdk-java-core
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 8.5h
>  Remaining Estimate: 0h
>
> Instead of shading as part of our build, we can shade before build so that it 
> is apparent when reading code, and in IDEs, that a particular class resides 
> in a hidden namespace.
> {{import com.google.common.reflect.TypeToken}}
> becomes something like
> {{import org.apache.beam.private.guava21.com.google.common.reflect.TypeToken}}
> So we can very trivially ban `org.apache.beam.private` from public APIs 
> unless they are annotated {{@Internal}}, and it makes sharing between our own 
> modules never get broken by shading again.



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

Reply via email to