Jan Lahoda

Results 24 issues of Jan Lahoda

There's a group of characters, that add diacritics to the preceding character. JShell wraps String values into double quotes, and so when such a combining character is the first character...

rfr
kulla

This is an attempt to improve the performance and scalability of switches with record patterns. There are two main parts of this patch: 1. for cases of consecutive runs of...

ready
rfr
compiler

I was peeking at the templated `String`s, and there are a few tweaks to the model that might be considered: * `TreeScanner` should visit all the children under `TemplatedStringTree`. *...

For code like: ``` sealed interface I permits A {} final class A implements I {} interface J {} J j = null; I i = (I) j; //error reported...

ready
rfr
compiler

Adding ability to show the inline hints (using "inlayHints" of the LSP), showing the same hints as for NetBeans. Enabled by default, but can be adjusted either in global settings...

Inside jshell, arrays don't show `Object` method in array code completion, i.e.: ``` jshell> String[] arr = null; arr ==> null jshell> arr. ``` will only show `length`. This patch...

ready
rfr
kulla

When JShell wraps the user's snippets with additional code to make the standalone compilable units, it uses simple names to refer to `Object`, `Throwable` or `SuppressWarnings` in some cases. These...

rfr
kulla

Considering code like: ``` public class Test { public Test(int i) { } public Test(Object o) { this(o instanceof R(String s) ? s.length() : -1); } public static void main(String......

ready
rfr
compiler

The server defines `nbls.project.resolveProjectProblems` command to resolve project problems. The name makes sense to me, as it can resolve problems for any projects, I believe, not only Java-related projects. But,...

Java
LSP

When the `TextDocumentServiceImpl` produces code actions, it will ignore the requested code action kinds for code actions associated with errors, which may lead to warnings like this in the log:...

LSP
Micronaut