bazel-contrib / bazel-contrib/rules_jvm_external
Unable to generate javadocs for kt_jvm_export
- Dominant language
- Java
- Stars
- 373
- Forks
- 301
- Avg merge
- 7d 17h
- Merged PRs (30d)
- 3
Description
Unless I specifiy "no-javadocs" when using kt_jvm_export, I get the following error:
```
import kotlin.reflect.jvm.internal.impl.types.model.TypeSubstitutorMarker;
^
symbol: class TypeSubstitutorMarker
location: package kotlin.reflect.jvm.internal.impl.types.model
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeSubstitutor.java:40: error: cannot find symbol
public class TypeSubstitutor implements TypeSubstitutorMarker {
^
symbol: class TypeSubstitutorMarker
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeConstructor.java:27: error: package kotlin.reflect.jvm.internal.impl.types.refinement does not exist
import kotlin.reflect.jvm.internal.impl.types.refinement.TypeRefinement;
^
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeProjection.java:22: error: package kotlin.reflect.jvm.internal.impl.types.refinement does not exist
import kotlin.reflect.jvm.internal.impl.types.refinement.TypeRefinement;
^
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeProjectionImpl.java:21: error: package kotlin.reflect.jvm.internal.impl.types.refinement does not exist
import kotlin.reflect.jvm.internal.impl.types.refinement.TypeRefinement;
^
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/ErrorUtils.java:40: error: package kotlin.reflect.jvm.internal.impl.types.refinement does not exist
import kotlin.reflect.jvm.internal.impl.types.refinement.TypeRefinement;
^
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/ErrorUtils.java:194: error: cannot find symbol
public DescriptorWithDeprecation getContributedClassifierIncludeDeprecated(
^
symbol: class DescriptorWithDeprecation
location: class ErrorScope
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/builtins/PlatformToKotlinClassMapper.java:9: error: package kotlin.reflect.jvm.internal.impl.container does not exist
import kotlin.reflect.jvm.internal.impl.container.DefaultImplementation;
^
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/builtins/PlatformToKotlinClassMapper.java:15: error: cannot find symbol
@DefaultImplementation(impl = PlatformToKotlinClassMapper.Default.class)
^
symbol: class DefaultImplementation
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeUtils.java:28: error: package kotlin.reflect.jvm.internal.impl.types.refinement does not exist
import kotlin.reflect.jvm.internal.impl.types.refinement.TypeRefinement;
^
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/ErrorUtils.java:274: error: cannot find symbol
public DescriptorWithDeprecation getContributedClassifierIncludeDeprecated(
^
symbol: class DescriptorWithDeprecation
location: class ThrowingScope
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeProjection.java:34: error: cannot find symbol
@TypeRefinement
^
symbol: class TypeRefinement
location: interface TypeProjection
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeConstructor.java:83: error: cannot find symbol
@TypeRefinement
^
symbol: class TypeRefinement
location: interface TypeConstructor
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeProjectionImpl.java:55: error: cannot find symbol
@TypeRefinement
^
symbol: class TypeRefinement
location: class TypeProjectionImpl
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeUtils.java:70: error: cannot find symbol
@TypeRefinement
^
symbol: class TypeRefinement
location: class SpecialType
/tmp/unpacked-sources12701327578411037281/kotlin/reflect/jvm/internal/impl/types/TypeUtils.java:77: error: cannot find symbol
@TypeRefinement
^
symbol: class TypeRefinement
location: class SpecialType
16 errors
```
Contributor guide
Research direction
Start by reproducing the failure with kt_jvm_export without the no-javadocs option and compare it with the working configuration. Investigate the reported missing Kotlin compiler classes and packages; done means javadocs generate successfully without requiring no-javadocs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100