Skip to content

Host bundles (even org.eclipse.osgi) leak into test launch config #2082

@akurtakov

Description

@akurtakov

Steps to reproduce:

  1. In a simple plugin project put the following java file
package test;

import static org.junit.jupiter.api.Assertions.*;

class Test {

	@org.junit.jupiter.api.Test
	void test() {
		fail("Not yet implemented");
	}

}
  1. Set the following as target platform
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="Eclipse" sequenceNumber="528">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
	<unit id="org.eclipse.platform.feature.group"/>
	<unit id="org.eclipse.jdt.junit5.runtime"/>
	<repository location="https://download.eclipse.org/releases/2025-09/"/>
</location>
</locations>
</target>
  1. Launch the test via Run As-> JUnit plugin test

  2. You will be presented with

Image
  1. If you go and validate in the launch configuration there are no problems

Image but launching again gives the problem again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions