Commit a0d53fa
Merge Master to Beta Java 21 (#286)
* Remove use of OPTION_JdtDebugCompileMode with
OPTION_IgnoreUnnamedModuleForSplitPackage
This change replaces use of OPTION_JdtDebugCompileMode with
OPTION_IgnoreUnnamedModuleForSplitPackage, since the latter does what we
need better and doesn't cause the side effects that the first option
causes. Goal is to later on remove OPTION_JdtDebugCompileMode in JDT
core.
Fixes: #260
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
* Detect JVM installs at startup (#231)
* Detect JVM installs at startup
Fixes #230
* Delete classpath argument files upon shutdown. Fixes #240 (#242)
Store classpath argument files in bundle state location, not in workspace
- Avoids that workspace is contaminated with temporary files.
- Delete classpath argument files upon shutdown.
- Version bump org.eclipse.jdt.launching.
See https://github.com/eclipse-platform/eclipse.platform.debug/issues/84
Fixes #240
* Avoid reusing of not thread-safe SimpleDateFormat
SimpleDateFormat.format(new Date());
returns same string as immutable and thread-safe
DateTimeFormatter.format(new Date().toInstant())
* Avoid potential Threadlocal.set(null) memory leak (#249)
Threadlocal.set(null) keeps a reference to ThreadLocal.this
see https://rules.sonarsource.com/java/RSPEC-5164
Co-authored-by: Jörg Kubitz <jkubitz-eclipse@gmx.de>
* Change how JrtPackageFragmentRoots are printed in Source tab (#266)
- currently all JrtPackageFragmentRoots are printed using the
path which is the same for all modules extracted from a jrt-fs.jar
- change this to print the module name followed by the full
jrt-fs.jar path
- fixes #633
* JavaSnippetEditor: fix missing synchronize (#259)
* JavaSnippetEditor: fix missing synchronize
* JavaSnippetEditor: Adding "this." for non static field access
---------
Co-authored-by: Jörg Kubitz <jkubitz-eclipse@gmx.de>
* LaunchingPlugin: use try-with-resource (#252)
to close streams in case of Exceptions.
Co-authored-by: Jörg Kubitz <jkubitz-eclipse@gmx.de>
* Add missing "static" modifier for constants (#256)
To reduce memory per instance
Co-authored-by: Jörg Kubitz <jkubitz-eclipse@gmx.de>
* [trivial] Fixed "Redundant specification of type arguments" warnings
Reported by official SDK build since 4.29 for whatever reason
See for example
https://download.eclipse.org/eclipse/downloads/drops4/I20230621-1800/compilelogs/plugins/org.eclipse.jdt.debug.jdi.tests_1.1.0.v20230328-1614/@dot.html#OTHER_WARNINGS
* Records with inner records breaks breakpoint toggling
fixes #270
Boundary for Breakpoint should be checked
* Touch bundles affected by the new ecj version
See eclipse-platform/eclipse.platform.releng.aggregator#1184
* Fix html links in VMInstall(Type) Extension-Point documentation
* Re-throw underlying exceptions in OpenFromClipboardTests #27 (#279)
Replace call to Display::syncExec with call to Display::syncCall in the
private method getJavaElementMatches. snycCall does not hide exceptions,
it re-throws them to the calling thread (which helps debugging).
Don't catch exceptions in the helper class "Accessor", re-throw them so
the calling tests can show a more meaningful stack-trace when they fail.
* Use typed for-each loop
Avoiding type-casts makes code easier to read.
* Avoid wrapping primitives for toString()
see https://rules.sonarsource.com/java/RSPEC-2131
* ReferenceTypeImpl: compare Array content
instead of instance comparison.
https://stackoverflow.com/questions/8777257/equals-vs-arrays-equals-in-java
* VMInstallTests: fix random ConcurrentModificationException #202
by using threadsafe datastructures.
* Set console stream encoding for java >= 19 - eclipse.platform.debug#124
https://github.com/eclipse-platform/eclipse.platform.debug/issues/124
* FileHashing: avoid getCanonicalFile()
getCanonicalFile() is slow on windows / JDK17 - can costs even more then
calculating the SHA1 of the file content, which it is supposed to avoid.
* Instead use normalized path. It does not matter that multiple files
could be the same due to symbolic links, it will just recalculate their
SHA1 for all of them - which is still faster.
* Also read all file attributes at once.
* Refactor XML parsing
* Fix path decoding of URL to File containing space (fixes #64)
A space in an URL is encoded as "%20" and has to be decoded to " ".
Otherwise a debugged JAR rooted in a path containing space is not
opening class file but java file editor.
* Add MacOS support for detecting VM installs at start up (#276)
- fixes #265
* require org.eclipse.core.runtime 3.29.0
---------
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
Co-authored-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
Co-authored-by: Mickael Istria <mistria@redhat.com>
Co-authored-by: Diethard Ohrt <130975899+diti0023@users.noreply.github.com>
Co-authored-by: Jörg Kubitz <jkubitz-eclipse@gmx.de>
Co-authored-by: Jörg Kubitz <51790620+jukzi@users.noreply.github.com>
Co-authored-by: Jeff Johnston <jjohnstn@redhat.com>
Co-authored-by: Andrey Loskutov <loskutov@gmx.de>
Co-authored-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
Co-authored-by: Federico Jeanne <2205684+fedejeanne@users.noreply.github.com>1 parent 536efe9 commit a0d53fa
File tree
79 files changed
+879
-448
lines changed- org.eclipse.jdt.debug.jdi.tests
- META-INF
- tests/org/eclipse/debug/jdi/tests
- org.eclipse.jdt.debug.tests
- META-INF
- java16_/a/b/c
- testprograms
- tests/org/eclipse/jdt/debug/tests
- breakpoints
- core
- sourcelookup
- ui
- org.eclipse.jdt.debug.ui
- .settings
- META-INF
- ui/org/eclipse/jdt
- debug/ui
- launchConfigurations
- internal/debug/ui
- breakpoints
- classpath
- jres
- propertypages
- snippeteditor
- sourcelookup
- org.eclipse.jdt.debug
- META-INF
- eval/org/eclipse/jdt/internal/debug/eval/ast
- engine
- instructions
- jdi/org/eclipse/jdi/internal
- connect
- jdwp
- request
- model/org/eclipse/jdt/internal/debug/core
- breakpoints
- logicalstructures
- org.eclipse.jdt.launching.macosx
- META-INF
- org.eclipse.jdt.launching.ui.macosx
- META-INF
- org.eclipse.jdt.launching
- META-INF
- launching/org/eclipse/jdt
- internal/launching
- sourcelookup/advanced
- launching
- sourcelookup
- schema
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
79 files changed
+879
-448
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
| 196 | + | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | | - | |
| 82 | + | |
84 | 83 | | |
85 | | - | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments