Skip to content

Commit 6fd1e43

Browse files
authored
Merge pull request #2343 from lwronski/release-1.0.4
1.0.4 release notes
2 parents 018fb36 + 44d9f7d commit 6fd1e43

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

website/docs/release_notes.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@ import ReactPlayer from 'react-player'
77

88
# Release notes
99

10+
## [v1.0.4](https://github.com/VirtusLab/scala-cli/releases/tag/v1.0.4)
11+
12+
## Hotfix for buildTarget/jvmRunEnvironment in BSP
13+
14+
We've addressed a bug that surfaced when opening your ScalaCLI projects in Metals or IntelliJ. If you encountered the following log:
15+
16+
```
17+
2023.08.09 15:48:34 INFO BSP server: Caused by: java.lang.IllegalArgumentException: Type ch.epfl.scala.bsp4j.JvmMainClass is instantiated reflectively but was never registered. Register the type by adding "unsafeAllocated" for the type in reflect-config.json.
18+
2023.08.09 15:48:34 INFO BSP server: at com.oracle.svm.core.graal.snippets.SubstrateAllocationSnippets.instanceHubErrorStub(SubstrateAllocationSnippets.java:309)
19+
2023.08.09 15:48:34 INFO BSP server: at [email protected]/sun.misc.Unsafe.allocateInstance(Unsafe.java:864)
20+
2023.08.09 15:48:34 INFO BSP server: ... 36 more
21+
```
22+
23+
those logs should no longer appear. Thanks to [@lwronski](https://github.com/lwronski) for providing the fix in [#2342](https://github.com/VirtusLab/scala-cli/pull/2342).
24+
25+
1026
## [v1.0.3](https://github.com/VirtusLab/scala-cli/releases/tag/v1.0.3)
1127

1228
## What's new

0 commit comments

Comments
 (0)