Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for beforeAnalysis (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt

    /**
     * Automatic configuration of OkHttp for native images.
     *
     * Currently, includes all necessary resources.
     */
    class OkHttpFeature : Feature {
      @IgnoreJRERequirement
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) {
        RuntimeResourceAccess.addResource(
          ClassLoader.getSystemClassLoader().getUnnamedModule(),
          "okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz",
        )
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

    import org.graalvm.nativeimage.hosted.RuntimeClassInitialization
    import org.graalvm.nativeimage.hosted.RuntimeReflection
    
    @AutomaticFeature
    class TestRegistration : Feature {
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess) {
        // Presumably needed for parsing the testlist.txt file.
        RuntimeClassInitialization.initializeAtBuildTime(access.findClassByName("kotlin.text.Charsets"))
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top