Comments (2)
The root cause of the new fail is that the JRE path contains now ~
character which is unfortunately auto-escaped in org.eclipse.jdt.internal.core.JavaElement.escapeMementoName(StringBuffer, String)
( ~
matches org.eclipse.jdt.internal.core.JavaElement.JEM_METHOD
).
The JRE path is part of the IModuleDescription
memento.
I'm not sure what that memento escaping is supposed to do in presence of valid path characters for Java elements that contain real path as a part of the memento name. There are few characters used by JavaElement.JEM_
constants that may be used in paths - all they will be escaped.
See also related discussion on https://bugs.eclipse.org/bugs/show_bug.cgi?id=430136
from eclipse.jdt.core.
I can make the test fail locally by moving my JDK to a path with ~ in it. I thought I should be able to replicate this failure in the Java Element view, but can't. Will take a closer look at to find what's going on.
from eclipse.jdt.core.
Related Issues (20)
- Merge BETA_JAVA20 into master HOT 3
- [content assist] Keys in property files are not indexed for <ctrl-click>
- [20] Internal error "info cannot be null" for nested generic record patterns (preview feature) HOT 1
- references search can't find StackWalker HOT 11
- ElidedSemicolonAndRightBrace in compile error message
- Autocomplete does not work for java.lang.reflect.ParameterizedType when using instanceof pattern matching. HOT 2
- Class 'ElementsImpl9' uses @Override for methods not present in base class HOT 2
- [20][record pattern] NPE with records pattern type inference HOT 1
- Path variable is null in ClasspathJep247.findClass HOT 6
- [21] JEP 444 : Virtual Threads
- NPE in org.eclipse.jdt.apt.core.util.AptConfig#addProjectClasspath HOT 1
- [20] Switch pattern dominance: redundant ECJ compiler errors HOT 3
- Error while compiling modular application HOT 5
- [20] foreach template not proposed for completion after a foreach with record pattern
- Unable to get correct Resource from IPackageBinding HOT 3
- [20] Fix and enable the commented out tests in SwitchPatternTest HOT 6
- [20][pattern switch] SwitchPatternTest.testBug575571_1 failure
- Eclipse compiler is not working as expected or it is not working as per spec with the "try-with-resource" functionality or with the method Throwable.addSuppressed(). HOT 1
- Regression: call hierarchy has zero results for JARs with module-info HOT 2
- Nested class cannot be constructed through outer class reference when in outer class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse.jdt.core.