Java 22 fails to start the IPCPipe
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 149
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Java 22 (and possibly higher) fails to start the IPCPipe and gives no indication on what excactly failed and why the discord process isn't receiving messages.
OS: Windows 10
JRE: 22 Oracle Corporation Java HotSpot(TM) 64-Bit
Steps to reproduce:
Execute in Java 22
```java
var file = new RandomAccessFile("\\\\?\\pipe\\discord-ipc-0", "rw");
```
As this is supported in Java 21 this isn't a huge problem but should at least output an error message to the user.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure on Windows 10 with Java 22 using the RandomAccessFile named-pipe example from the issue, then trace IPCPipe startup and its existing error handling. Done means the Java 22 startup failure reports what failed and why Discord is not receiving messages, while Java 21 behavior remains supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100