mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-29 23:37:41 +00:00
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Gitleaks / gitleaks (push) Waiting to run
Publish / Classify release event (push) Waiting to run
Publish / RC guard (marker + release-PR skip) (push) Blocked by required conditions
Publish / ci (push) Blocked by required conditions
Publish / Publish to npm (push) Blocked by required conditions
Publish / Build & Push RC Docker images (push) Blocked by required conditions
Scorecard / Scorecard analysis (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-cli) (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-web) (push) Waiting to run
* test(java): compare overload resolution with javac in CI * test(conformance): share call resolution reports across tools * test(java): cover the overload conversion matrix with javac (#4057) Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com> * test(java): run Java-backed fixtures in dedicated CI shards * test(java): replace handwritten resolution cases with javac comparisons * test(java): compare lambda and receiver fixtures against javac * fix(ci): restore Java test evidence and use locked toolchain commands * test(skills): fail incomplete CLI generation checks (#4056) * test(java): compare method references with javac * fix(java): resolve qualified bases and static wildcard overloads * test(java): preserve declared dollar names in compiler comparisons * fix(java): preserve distinct call targets for colliding type names * fix(conformance): resolve private nested bases and retain overload selections * fix(java): distinguish variadic overloads in the published graph * fix(java): match javac for nested types, imports and initializer calls * Move Java fixture testing out of Vitest and into compiler conformance * Verify Java graph endpoints and leave call selection to javac * Match javac for annotated bases and legal static imports * Resolve nested Java member types and clean up failed conformance fixtures * Preserve qualified Java bases across unrelated static wildcard imports * test(java): run inline source fixtures in compiler conformance * test(conformance): check fetch callers, lexical bindings and cleanup * test(java): move virtual source and text fixtures into conformance * fix(java): resolve imported member types and qualified base collisions * Match javac constructor overloads and preserve Java conformance coverage * Compare recovered Java inheritance with javac in the conformance runner * Run the Java query compilation smoke test in native conformance * Clarify Java conformance expectations and check populated suites * Write javac conformance records as UTF-8 on Windows * Compile the Java conformance tools for SonarCloud analysis * Compare Java method implementation edges with javac * Resolve fixture writers and inherited Java methods in their lexical context * Resolve qualified Java bases through their accessible type members * Match local qualified Java bases and bounded varargs identities to javac * Match Java call resolution to javac across the conformance corpus Preserve generic declaration identity, follow nested call results, and type lambda aliases and enhanced-loop variables in their declaration scopes. Report proven JDK call targets without creating workspace edges. Compare every selected source and binary call against javac and remove the twelve mismatch lists. * Compare Java recovery targets as sets and check empty destination addresses Keep repeated uses of the same declaration equivalent across graph producers while detecting missing and extra targets. Check raw destination addresses and document the source and classpath inputs to the compiler comparison. * Avoid extra native parent walks while capturing Java call facts Index lambda origins by spelling before walking lexical scopes, and only check value shadowing for qualifiers rooted in an identifier. This restores the capture traversal budget for anonymous classes while preserving javac call targets. * Refresh the Java capture fingerprint for corrected fixture comments The module captures include the revised comments and the following declarations move to earlier lines. Both emitters produce the same 4,288 capture groups when given the same fixture revision. * Preserve Java conformance assertions and use trusted fixture paths Use explicit canonical sort orders, require missing evidence to fail assertions, and keep pending query results in the replay cache. Resolve the Git executable independently of the test repository and isolate the Spring workspace per test. * Resolve inherited Java members through the scoped superclass * Reuse validated analyzer build hashes for parser cache identity * Resolve SonarCloud findings in Java resolution and compiler conformance * Align Java compiler tool packages and pin benchmark baselines to the tested merge * Honor wildcard method families and fixture ownership in Java conformance * fix(java): resolve inherited and annotation member types against javac Keep workspace links tied to import declarations and compare Java varargs overloads through comments. Make generated-project selection, method metadata checks and Java fixture ownership explicit in conformance. * fix(java): resolve bounded and imported bases during dispatch Keep the type selected from a qualified heritage clause available during overload resolution. Compare annotated bounds, inherited static imports, and String.valueOf arguments directly with javac. Detect Java fixture paths on either side of a filesystem rename. * Conform Java method visibility and wildcard lambda bounds to javac Compare method access at source positions, recognize CommonJS fixture reads, and preserve diagnostics when native conformance setup fails. * Match javac for qualified member overloads and selective call diagnostics * Track reassigned Java fixture paths at their point of use * Respect Java visibility and Node path semantics in conformance checks * Align Java graph benchmarks with compiler-verified visibility * Record the public Java record accessor in the mixed-provider benchmark * Address remaining Java conformance analysis findings Keep repository import scans sequential, simplify Java header and overload resolution, and reuse Spring conformance measurements. Preserve compiler comparison assertions and emitted fixture contents. * Match javac on nested binary names, null factories and recovered calls Preserve the qualified annotation target in workspace links. Compare valid and invalid arguments separately so an attributed recovery symbol cannot mask a failed invocation. --------- Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
429 lines
16 KiB
JavaScript
429 lines
16 KiB
JavaScript
import { compareCodeUnits } from '../compare.mjs';
|
|
import { globSync, readFileSync } from 'node:fs';
|
|
import path from 'node:path';
|
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
import { parse } from '@babel/parser';
|
|
import traverse from '@babel/traverse';
|
|
import { isFunction } from '@babel/types';
|
|
|
|
const twoPathFsCalls = new Set([
|
|
'copyFile',
|
|
'copyFileSync',
|
|
'cp',
|
|
'cpSync',
|
|
'rename',
|
|
'renameSync',
|
|
]);
|
|
const fsCalls = new Set([
|
|
'readFile',
|
|
'readFileSync',
|
|
'writeFile',
|
|
'writeFileSync',
|
|
'appendFile',
|
|
'appendFileSync',
|
|
...twoPathFsCalls,
|
|
'createReadStream',
|
|
'createWriteStream',
|
|
]);
|
|
const projectReaders = new Set([
|
|
'runPipelineFromRepo',
|
|
'runFullAnalysis',
|
|
'useFixture',
|
|
'writeFixtureRepo',
|
|
]);
|
|
const compilerProjectPath =
|
|
/(?:^|\/)(?:compiler-conformance\/java-[^/]+|java-resolution\/[^/]+)(?:\/|$)/;
|
|
const javaFixturePath = /(?:^|\/)fixtures(?:\/[^/]+)*\/java(?:-[^/]+)?(?:\/|$)/;
|
|
function isFixturePath(path) {
|
|
return compilerProjectPath.test(path) || javaFixturePath.test(path);
|
|
}
|
|
const fsModule = /^(?:node:)?fs(?:\/promises)?$/;
|
|
const pathModule = /^(?:node:)?path(?:\/posix|\/win32)?$/;
|
|
|
|
function children(node) {
|
|
return Object.values(node)
|
|
.flatMap((value) => (Array.isArray(value) ? value : [value]))
|
|
.filter((child) => child && typeof child === 'object' && typeof child.type === 'string');
|
|
}
|
|
|
|
function nameOf(node) {
|
|
return node?.name ?? node?.value;
|
|
}
|
|
|
|
function literalIdentifier(node, bindings, seen) {
|
|
if (seen.has(node.name)) return '*';
|
|
const binding = bindingFor(bindings, node);
|
|
if (binding?.path)
|
|
return literal(binding.path.node, binding.path.scope, new Set([...seen, node.name]));
|
|
const name = binding ? nameOf(binding.imported) : node.name;
|
|
return name === 'FIXTURES' ? 'fixtures' : '*';
|
|
}
|
|
|
|
function literal(node, bindings, seen = new Set()) {
|
|
if (!node) return '';
|
|
switch (node.type) {
|
|
case 'StringLiteral':
|
|
return node.value;
|
|
case 'TemplateLiteral':
|
|
return node.quasis
|
|
.map(
|
|
(q, i) =>
|
|
q.value.cooked +
|
|
(i < node.expressions.length
|
|
? literal(node.expressions[i], bindings, seen) || '*'
|
|
: ''),
|
|
)
|
|
.join('');
|
|
case 'Identifier':
|
|
return literalIdentifier(node, bindings, seen);
|
|
case 'TSAsExpression':
|
|
case 'TSSatisfiesExpression':
|
|
case 'TSNonNullExpression':
|
|
return literal(node.expression, bindings, seen);
|
|
case 'BinaryExpression':
|
|
return node.operator === '+'
|
|
? literal(node.left, bindings, seen) + literal(node.right, bindings, seen)
|
|
: '';
|
|
case 'NewExpression':
|
|
return nameOf(node.callee) === 'URL' ? literal(node.arguments[0], bindings, seen) : '';
|
|
case 'CallExpression': {
|
|
const op = nodePathExport(node.callee, bindings);
|
|
if (typeof op === 'function') {
|
|
const parts = node.arguments.map((n) => literal(n, bindings, seen));
|
|
// The scanner's working directory supplies no evidence about the test's paths.
|
|
if (op === path.posix.resolve || op === path.win32.resolve) return op('/', ...parts);
|
|
return op(...parts);
|
|
}
|
|
const method =
|
|
nameOf(node.callee.property) ?? nameOf(bindingFor(bindings, node.callee)?.imported);
|
|
if (method === 'fileURLToPath' || node.callee.name === 'fileURLToPath')
|
|
return literal(node.arguments[0], bindings, seen);
|
|
return '';
|
|
}
|
|
default:
|
|
return '';
|
|
}
|
|
}
|
|
|
|
function javaSourceMap(node, bindings, seen = new Set()) {
|
|
if (!node) return '';
|
|
if (node.type === 'Identifier' && !seen.has(node.name)) {
|
|
const init = bindingFor(bindings, node)?.path;
|
|
return init ? javaSourceMap(init.node, init.scope, new Set([...seen, node.name])) : '';
|
|
}
|
|
if (node.type === 'TSAsExpression' || node.type === 'TSSatisfiesExpression')
|
|
return javaSourceMap(node.expression, bindings, seen);
|
|
if (node.type !== 'ObjectExpression') return '';
|
|
for (const property of node.properties) {
|
|
const match = javaSourceProperty(property, bindings, seen);
|
|
if (match) return match;
|
|
}
|
|
return '';
|
|
}
|
|
|
|
function javaSourceProperty(property, bindings, seen) {
|
|
if (property.type === 'SpreadElement') return javaSourceMap(property.argument, bindings, seen);
|
|
const key = property.computed ? literal(property.key, bindings) : nameOf(property.key);
|
|
return typeof key === 'string' && key.endsWith('.java') ? key : '';
|
|
}
|
|
|
|
function requiredModule(node, scope) {
|
|
if (
|
|
node?.type === 'CallExpression' &&
|
|
node.callee.type === 'Identifier' &&
|
|
node.callee.name === 'require' &&
|
|
!scope.getBinding('require') &&
|
|
node.arguments.length === 1 &&
|
|
node.arguments[0].type === 'StringLiteral'
|
|
)
|
|
return { module: node.arguments[0].value };
|
|
if (node?.type !== 'MemberExpression') return undefined;
|
|
const owner = requiredModule(node.object, scope);
|
|
if (!owner || owner.imported) return undefined;
|
|
const imported = node.property;
|
|
if (node.computed && imported.type !== 'StringLiteral') return undefined;
|
|
const name = nameOf(imported);
|
|
if ((name === 'posix' || name === 'win32') && pathModule.test(owner.module))
|
|
return { module: 'node:path/' + name };
|
|
return name === 'promises' && /^(?:node:)?fs$/.test(owner.module)
|
|
? { module: owner.module + '/promises' }
|
|
: { module: owner.module, imported };
|
|
}
|
|
|
|
function directAssignmentValue(write, read) {
|
|
if (
|
|
!write.isAssignmentExpression({ operator: '=' }) ||
|
|
!write.get('left').isIdentifier({ name: read.node.name })
|
|
)
|
|
return undefined;
|
|
const statement = write.parentPath;
|
|
const block = statement.parentPath;
|
|
return statement.isExpressionStatement() &&
|
|
(block.isBlockStatement() || block.isProgram()) &&
|
|
block.isAncestor(read)
|
|
? write.get('right')
|
|
: undefined;
|
|
}
|
|
|
|
// A write after a read can reach that read on the next loop iteration.
|
|
function mayReadPreviousIteration(read, latest, writes) {
|
|
for (const loop of read.getAncestry().filter((path) => path.isLoop())) {
|
|
if (latest && loop.isAncestor(latest)) continue;
|
|
if (writes.some((write) => loop.isAncestor(write))) return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// A mutable binding has a known value after a direct assignment in a block
|
|
// enclosing the read. Writes behind a branch or in another function can make
|
|
// the value uncertain. Never substitute the initializer for an uncertain read.
|
|
function valueAtReference(binding, node) {
|
|
const initial = binding.path.get('init');
|
|
if (binding.constant) return initial;
|
|
const read = binding.referencePaths.find((ref) => ref.node === node);
|
|
if (!read) return undefined;
|
|
const fn = read.getFunctionParent()?.node;
|
|
if (fn !== binding.path.getFunctionParent()?.node) return undefined;
|
|
let latest;
|
|
for (const write of binding.constantViolations) {
|
|
if (write.getFunctionParent()?.node !== fn) return undefined;
|
|
if (write.node.end <= node.start && write.node.end > (latest?.node.end ?? -1)) latest = write;
|
|
}
|
|
if (mayReadPreviousIteration(read, latest, binding.constantViolations)) return undefined;
|
|
return latest ? directAssignmentValue(latest, read) : initial;
|
|
}
|
|
|
|
function bindingFor(scope, identifier) {
|
|
const name = identifier?.name;
|
|
const binding = name && scope.getBinding(name);
|
|
if (!binding) return undefined;
|
|
const declaration = binding.path;
|
|
if (declaration.parentPath.isImportDeclaration())
|
|
return { module: declaration.parent.source.value, imported: declaration.node.imported };
|
|
if (declaration.isFunctionDeclaration()) return { path: declaration };
|
|
if (!declaration.isVariableDeclarator()) return {};
|
|
const { id, init } = declaration.node;
|
|
const value = valueAtReference(binding, identifier);
|
|
if (!value?.node) return {};
|
|
const required = requiredModule(value.node, value.scope);
|
|
if (value.node !== init || id.type === 'Identifier') return required ?? { path: value };
|
|
if (id.type !== 'ObjectPattern') return {};
|
|
const imported = id.properties.find((property) => nameOf(property.value) === name)?.key;
|
|
if (!imported) return {};
|
|
if (required && !required.imported) return { module: required.module, imported };
|
|
if (nameOf(init?.callee) === 'createRenameFixtureHelpers')
|
|
return { writesFixture: ['fixture', 'expectRename'].includes(nameOf(imported)) };
|
|
return {};
|
|
}
|
|
|
|
// Follow local fixture writers only when their implementation reaches real I/O.
|
|
function writesFiles(binding, mocked, seen = new Set()) {
|
|
if (binding?.writesFixture) return true;
|
|
const definition = binding?.path;
|
|
if (!definition?.isFunction() || seen.has(definition.node)) return false;
|
|
seen.add(definition.node);
|
|
let writes = false;
|
|
definition.traverse({
|
|
CallExpression(call) {
|
|
const {
|
|
binding: resolved,
|
|
method,
|
|
actualFs,
|
|
identifier,
|
|
} = fixtureCall(call.node, call.scope, mocked);
|
|
if (
|
|
(actualFs && fsCalls.has(method)) ||
|
|
(projectReaders.has(method) && (!resolved || resolved.module)) ||
|
|
(identifier && writesFiles(resolved, mocked, seen))
|
|
) {
|
|
writes = true;
|
|
call.stop();
|
|
}
|
|
},
|
|
});
|
|
return writes;
|
|
}
|
|
|
|
function virtualJavaSource(node, bindings) {
|
|
if (node.type !== 'ObjectProperty') return undefined;
|
|
const key = node.computed ? literal(node.key, bindings) : nameOf(node.key);
|
|
const value = node.value;
|
|
const languageRow =
|
|
key === 'java' &&
|
|
value.type === 'ArrayExpression' &&
|
|
literal(value.elements[0], bindings) === 'java';
|
|
if (!languageRow && !(typeof key === 'string' && key.endsWith('.java'))) return undefined;
|
|
const source = literal(languageRow ? value.elements[1] : value, bindings);
|
|
return /\b(?:class|interface|enum|record)\s+[\p{L}$_]|\b(?:package|import)\s+[\w.$]+\s*;/u.test(
|
|
source,
|
|
)
|
|
? key
|
|
: undefined;
|
|
}
|
|
|
|
function stubExports(node) {
|
|
if (node?.type === 'CallExpression')
|
|
return (
|
|
nameOf(node.callee.object) === 'vi' &&
|
|
nameOf(node.callee.property) === 'fn' &&
|
|
node.arguments.length === 0
|
|
);
|
|
return (
|
|
node?.type === 'ObjectExpression' &&
|
|
node.properties.every(
|
|
(property) => property.type === 'ObjectProperty' && stubExports(property.value),
|
|
)
|
|
);
|
|
}
|
|
|
|
function completeFsMock(factory) {
|
|
if (!factory) return true;
|
|
if (!isFunction(factory)) return false;
|
|
const body = factory.body;
|
|
if (body.type !== 'BlockStatement') return stubExports(body);
|
|
return (
|
|
body.body.length === 1 &&
|
|
body.body[0].type === 'ReturnStatement' &&
|
|
stubExports(body.body[0].argument)
|
|
);
|
|
}
|
|
|
|
function callableBinding(scope, identifier) {
|
|
let binding = bindingFor(scope, identifier);
|
|
const seen = new Set();
|
|
while (binding?.path?.isIdentifier() && !seen.has(binding.path.node)) {
|
|
const alias = binding.path;
|
|
seen.add(alias.node);
|
|
identifier = alias.node;
|
|
binding = bindingFor(alias.scope, identifier);
|
|
}
|
|
return { name: identifier?.name, binding };
|
|
}
|
|
|
|
function pathMember(api, name) {
|
|
if (!api || typeof api === 'function') return undefined;
|
|
if (name === 'join' || name === 'resolve' || name === 'posix' || name === 'win32')
|
|
return api[name];
|
|
return undefined;
|
|
}
|
|
|
|
// Resolve only the Node path exports used to construct fixture paths.
|
|
function nodePathExport(node, scope, seen = new Set()) {
|
|
if (!node || seen.has(node)) return undefined;
|
|
if (node.type === 'MemberExpression') {
|
|
if (node.computed && node.property.type !== 'StringLiteral') return undefined;
|
|
return pathMember(nodePathExport(node.object, scope, seen), nameOf(node.property));
|
|
}
|
|
const binding =
|
|
node.type === 'Identifier' ? bindingFor(scope, node) : requiredModule(node, scope);
|
|
if (binding?.path) {
|
|
seen.add(node);
|
|
return nodePathExport(binding.path.node, binding.path.scope, seen);
|
|
}
|
|
if (!pathModule.test(binding?.module ?? '')) return undefined;
|
|
const flavor = binding.module.split('/')[1];
|
|
const api = flavor ? path[flavor] : path;
|
|
return binding.imported ? pathMember(api, nameOf(binding.imported)) : api;
|
|
}
|
|
|
|
function fixtureCall(node, bindings, mocked) {
|
|
const callee = node.callee;
|
|
const identifier = callee.type === 'Identifier';
|
|
let owner = callee.object;
|
|
if (nameOf(owner?.property) === 'promises') owner = owner.object;
|
|
const target = callableBinding(bindings, identifier ? callee : owner);
|
|
const binding = target.binding ?? requiredModule(owner, bindings);
|
|
const method = identifier ? (nameOf(binding?.imported) ?? target.name) : nameOf(callee.property);
|
|
const actualFs =
|
|
fsModule.test(binding?.module ?? '') && !mocked.has(binding.module.replace(/^node:/, ''));
|
|
const isProject = projectReaders.has(method) && identifier && (!binding || binding.module);
|
|
const explicitProjectPath =
|
|
(node.type === 'NewExpression' && method === 'URL') ||
|
|
typeof nodePathExport(callee, bindings) === 'function';
|
|
return { binding, method, identifier, actualFs, isProject, explicitProjectPath };
|
|
}
|
|
|
|
function fixtureArgument(node, bindings, { method, actualFs, isProject, explicitProjectPath }) {
|
|
if ((actualFs && fsCalls.has(method)) || isProject || explicitProjectPath) {
|
|
const count = twoPathFsCalls.has(method) ? 2 : 1;
|
|
const paths = explicitProjectPath ? [node] : node.arguments.slice(0, count);
|
|
for (const arg of paths) {
|
|
const candidate = literal(arg, bindings).replaceAll('\\', '/');
|
|
if (isFixturePath(candidate) || (actualFs && candidate.endsWith('.java'))) return candidate;
|
|
}
|
|
}
|
|
if (isProject && (method === 'useFixture' || method === 'writeFixtureRepo'))
|
|
return javaSourceMap(node.arguments[1], bindings);
|
|
return '';
|
|
}
|
|
|
|
function writtenFixture(node, bindings, { identifier, binding }, mocked) {
|
|
if (!identifier || !binding) return '';
|
|
for (const arg of node.arguments) {
|
|
const candidate = (javaSourceMap(arg, bindings) || literal(arg, bindings)).replaceAll(
|
|
'\\',
|
|
'/',
|
|
);
|
|
if ((candidate.endsWith('.java') || isFixturePath(candidate)) && writesFiles(binding, mocked))
|
|
return candidate;
|
|
}
|
|
return '';
|
|
}
|
|
|
|
/** Detect Java file fixtures and virtual source maps. Vitest setup also observes the parser. */
|
|
export function javaFixtureUses(source, filename = 'suite.test.ts') {
|
|
if (!/java|FIXTURES/i.test(source)) return [];
|
|
const tree = parse(source, {
|
|
sourceType: 'unambiguous',
|
|
plugins: ['typescript', ...(filename.endsWith('x') ? ['jsx'] : [])],
|
|
});
|
|
const findings = [];
|
|
const inlineSources = [];
|
|
const mocked = new Set();
|
|
function findMocks(node) {
|
|
if (
|
|
node.type === 'CallExpression' &&
|
|
nameOf(node.callee.object) === 'vi' &&
|
|
nameOf(node.callee.property) === 'mock'
|
|
) {
|
|
const spec = node.arguments[0]?.value;
|
|
if (typeof spec === 'string' && fsModule.test(spec) && completeFsMock(node.arguments[1]))
|
|
mocked.add(spec.replace(/^node:/, ''));
|
|
}
|
|
for (const child of children(node)) findMocks(child);
|
|
}
|
|
findMocks(tree.program);
|
|
function visit({ node, scope: bindings }) {
|
|
const virtual = virtualJavaSource(node, bindings);
|
|
if (virtual)
|
|
inlineSources.push({
|
|
line: node.loc.start.line,
|
|
method: 'inline Java source',
|
|
path: virtual,
|
|
});
|
|
if (node.type !== 'CallExpression' && node.type !== 'NewExpression') return;
|
|
const call = fixtureCall(node, bindings, mocked);
|
|
const match =
|
|
fixtureArgument(node, bindings, call) || writtenFixture(node, bindings, call, mocked);
|
|
if (match) findings.push({ line: node.loc.start.line, method: call.method, path: match });
|
|
}
|
|
traverse(tree, { 'ObjectProperty|CallExpression|NewExpression': visit });
|
|
const reportedPaths = new Set(findings.map((issue) => issue.path));
|
|
return [...findings, ...inlineSources.filter((issue) => !reportedPaths.has(issue.path))];
|
|
}
|
|
|
|
if (process.argv[1] && import.meta.url === pathToFileURL(path.resolve(process.argv[1])).href) {
|
|
const root = fileURLToPath(new URL('../../../test/', import.meta.url));
|
|
const findings = [];
|
|
for (const file of globSync('**/*.{test,spec}.{ts,tsx,js,jsx,mts,mjs,cts,cjs}', { cwd: root })) {
|
|
for (const issue of javaFixtureUses(readFileSync(path.join(root, file), 'utf8'), file))
|
|
findings.push(file + ':' + issue.line + ' ' + issue.method + ' ' + issue.path);
|
|
}
|
|
if (findings.length) {
|
|
console.error(
|
|
'Run Java source fixtures in compiler conformance:\n' +
|
|
findings.toSorted(compareCodeUnits).join('\n'),
|
|
);
|
|
process.exitCode = 1;
|
|
} else console.log('Java fixture ownership passed');
|
|
}
|