Skip to content

Commit f5f784d

Browse files
committed
Bug 574831 - Computation of module name in Java launch use wrong module
Change-Id: I587e95d6c30f270bdf22778140dc884e8ce947bc Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/189428 Tested-by: JDT Bot <[email protected]> Reviewed-by: Sarika Sinha <[email protected]>
1 parent 530846d commit f5f784d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

org.eclipse.jdt.launching/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.jdt.launching; singleton:=true
5-
Bundle-Version: 3.19.400.qualifier
5+
Bundle-Version: 3.19.500.qualifier
66
Bundle-Activator: org.eclipse.jdt.internal.launching.LaunchingPlugin
77
Bundle-Vendor: %providerName
88
Bundle-Localization: plugin

org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaLaunchDelegate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2019 IBM Corporation and others.
2+
* Copyright (c) 2000, 2021 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -111,7 +111,7 @@ private VMRunnerConfiguration getVMRunnerConfiguration(ILaunchConfiguration conf
111111
if (modName != null && modName.length() > 0) {
112112
String defaultModuleName = null;
113113
String moduleName = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_MODULE_NAME, defaultModuleName);
114-
if (moduleName != null) {
114+
if (moduleName != null && !moduleName.isEmpty()) {
115115
runConfig.setModuleDescription(moduleName);
116116
} else {
117117
runConfig.setModuleDescription(modName);

org.eclipse.jdt.launching/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2012, 2021 Eclipse Foundation and others.
3+
Copyright (c) 2012, 2022 Eclipse Foundation and others.
44
All rights reserved. This program and the accompanying materials
55
are made available under the terms of the Eclipse Distribution License v1.0
66
which accompanies this distribution, and is available at
@@ -18,7 +18,7 @@
1818
</parent>
1919
<groupId>org.eclipse.jdt</groupId>
2020
<artifactId>org.eclipse.jdt.launching</artifactId>
21-
<version>3.19.400-SNAPSHOT</version>
21+
<version>3.19.500-SNAPSHOT</version>
2222
<packaging>eclipse-plugin</packaging>
2323

2424
<build>

0 commit comments

Comments
 (0)