Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2243

org.apache.beam.GcpCoreApiSurfaceTest.testApiSurface fails at release-2.0.0 head

Details

    • Bug
    • Status: Resolved
    • P0
    • Resolution: Fixed
    • None
    • 2.0.0
    • io-java-gcp
    • None

    Description

      java.lang.AssertionError: 
      
      Expected: API surface to include only:
      	Classes in package "org.apache.beam"
      	Classes in package "com.google.api.client"
      	Classes in package "com.google.api.services.storage"
      	Classes in package "com.google.auth"
      	Classes in package "com.fasterxml.jackson.annotation"
      	Classes in package "com.fasterxml.jackson.core"
      	Classes in package "com.fasterxml.jackson.databind"
      	Classes in package "org.apache.avro"
      	Classes in package "org.hamcrest"
      	Classes in package "org.codehaus.jackson"
      	Classes in package "org.joda.time"
      	Classes in package "org.junit"
      	
           but: The following disallowed classes appeared on the API surface:
      	interface sun.reflect.CallerSensitive exposed via:
      		interface sun.reflect.CallerSensitive
      		class org.apache.beam.sdk.repackaged.net.bytebuddy.dynamic.loading.MultipleParentClassLoader
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
      	at org.apache.beam.GcpCoreApiSurfaceTest.testApiSurface(GcpCoreApiSurfaceTest.java:55)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      Attachments

        Activity

          People

            lcwik Luke Cwik
            lcwik Luke Cwik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: