Files
meson/test cases/java/11 build subdir/com-mesonbuild-HelloWorldMainLauncherClass.java
Paolo Bonzini 1edb401fe8 ninjabackend: fix class file path to include build_subdir
Compute the class file path relative to the private dir
using the full name of the .class file, not just the src.fname.
For example, for target subdir "java" and source
"java/icd/Api.java", the class path is "icd/Api.class" rather
than just "Api.class".

Using the wrong class file name caused unnecessary rebuilds
of jar files.

Fixes: #15582
2026-03-06 15:41:00 +01:00

8 lines
176 B
Java

package com.mesonbuild;
public class HelloWorldMainLauncherClass {
public static void main(String [] args) {
System.out.println("hello nanowar of steel");
}
}