typelevel / typelevel/sbt-typelevel

JDK API mappings not working sometimes (?)

Open
#347 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug settings
Dominant language
Scala
Stars
185
Forks
62
PR merge metrics
No merged PRs in 30d

Description

I put a dogfood test for this inside the site plugin.

[error] .../sbt-typelevel/site/src/main/scala/org/typelevel/sbt/site/TypelevelHeliumExtensions.scala:47:3: Could not find any member to link for "java.net.URL".
[error]   /**
[error]   ^
[error] one error found
$ java -version
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment Homebrew (build 11.0.15+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.15+0, mixed mode)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the dogfood test in the site plugin with the reported Java 11 environment, then inspect site/src/main/scala/org/typelevel/sbt/site/TypelevelHeliumExtensions.scala around line 47. Compare the failing java.net.URL API link behavior and determine what change makes the test pass consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.