Skip to content

[DO NOT MERGE] AIRES-8088 Fix SemSitter frontend gaps found on the ECJ replacement PoC - #6443

Draft
antonioaversa wants to merge 13 commits into
rombirli/semsitter-ecj-replacement-v2from
antonio/poc-6415-fixes
Draft

antonioaversa wants to merge 13 commits into
rombirli/semsitter-ecj-replacement-v2from
antonio/poc-6415-fixes

Conversation

@antonioaversa

Copy link
Copy Markdown
Contributor

Stacked on #6415 (base rombirli/semsitter-ecj-replacement-v2). Do not merge: opened to run the PVF against the SemSitter frontend with these fixes.

Does not modify #6415 or its branch; 13 commits on top of 4c48ffe5cb.

  • AIRES-8086: file-level issues keep no text range again (revert of d2455142ce).
  • AIRES-8087: package symbols are owned by the root package (names a.b, not a.a.b).
  • AIRES-8088: library method deprecation, unresolved type names kept as written, UNUSED_IMPORT and ASSIGNMENT_HAS_NO_EFFECT warnings, constant evaluation, implicit default constructor, effectively-final flag.

Unit tests in java-checks: 2,199 of 2,488 pass (was 2,128). Semdiff differing facts: 29,624 (was 33,816). Open gaps and evidence: 60-sonarjava-side-fixes.md in the AIRES-8030 attachments.

Epic: AIRES-8030.

@gitar-bot

gitar-bot Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
CI failed: Two separate CI failures: a ruling-diff comment job failed on malformed S6212 expected-ruling JSON (unrelated to this PR), and java-frontend test compilation failed on unresolved ECJ/JDT symbols with the connection to this PR unclear; no failure is confirmed as caused by the change.

Overview

Two distinct failure patterns were found across 2 analyzed logs (9 templates reported, 2 unique failure groups after synthesis). Neither is confirmed as caused by this PR's changes, and the ruling QA matrix failure that triggered the diff job still lacks its own diagnosis.

Failures

Ruling diff comment generation failed on malformed S6212 expected JSON (confidence: high)

  • Type: tooling
  • Affected jobs: 124936910762
  • Related to change: no
  • Root cause: The ruling-diff tool failed to parse its/ruling/src/test/resources/expected/eclipse-jetty/java-S6212.json at ref 89aa6316fc0e6990097d756269d3b8202837c92d with Extra data: line 1987 column 1 (char 28314). The PR does not touch this file or the ruling-diff parser. The upstream ruling QA job had already reported failure, but its logs were not provided.
  • Suggested fix: Inspect its/ruling/src/test/resources/expected/eclipse-jetty/java-S6212.json at the reported ref and correct it so it contains a single valid JSON document, then rerun the ruling-diff action. Separately, pull the logs for the failing ruling-qa matrix jobs to diagnose that failure.

java-frontend test compilation fails on unresolved ECJ/JDT symbols (confidence: high)

  • Type: build
  • Affected jobs: 124932785824
  • Related to change: unclear
  • Root cause: Maven testCompile for module java-frontend reports roughly 100 errors: org.eclipse.core.runtime and org.eclipse.jdt.* packages do not exist, and legacy members such as typeBinding, methodBinding, JSema.resolveType, and IProgressMonitor cannot be resolved. The errors come from a test-source/classpath mismatch, not from test execution. The PR modifies the SemSitter frontend, so overlap is plausible, but the supplied commits and diff stats do not show the change that removed these dependencies, and the affected test sources are not in the changed-file list. Downstream modules were skipped as a result.
  • Suggested fix: Align the frontend tests with the backend under build. If they should target SemSitter, port their ECJ-dependent setup and assertions to the current frontend APIs. If they must stay ECJ-based, make the JDT and Eclipse runtime test dependencies and compatibility APIs available on the classpath. Then rerun java-frontend test compilation.

Summary

  • Change-related failures: 0 confirmed. The java-frontend compilation failure is marked unclear and may overlap with the SemSitter frontend changes in this PR.
  • Infrastructure/flaky failures: 0. The ruling-diff failure is a tooling/data issue (malformed historical JSON), not infrastructure or flakiness.
  • Recommended action: Verify whether the java-frontend test sources depend on ECJ APIs this PR removed, and fix or port them if so. Fix the malformed S6212 ruling JSON and review the separate ruling QA job logs. Do not merge until the java-frontend build passes.
Code Review ⚠️ Changes requested 0 closed / 7 findings

🟡 Medium risk · The SemSitter frontend’s symbol, type, warning, and classpath handling changes could misattribute code and alter Java analysis results.

Adds constant evaluation for static final fields, unused-import and assignment warnings, package symbol ownership, and deprecation on per-call views for the ECJ replacement PoC. Changes requested: constant evaluation recurses forever on cyclic static final fields, which can throw StackOverflowError and abort analysis. Also open: final instance fields lose their constant value while non-constant types gain one; imports used only in module-info directives are reported unused; unused package on-demand imports are never reported; the shared unit bridge answers lazy lookups from the latest analyze; the signature parser keeps outer type arguments on non-generic inner types; and the effectively-final check counts assignments textually rather than by definite assignment.

⚠️ Bug: Constant evaluation recurses forever on cyclic static final fields

📄 java-frontend/src/main/java/org/sonar/java/model/JVariableSymbol.java:70-84

constantValue() stores constant only after declaredConstant() returns. declaredConstant() now evaluates any initializer through ExpressionUtils.resolveAsConstant, and that method resolves identifiers and member selects by calling constantValue() on the referenced field (ExpressionUtils.java:341). A cycle that compiles fine, such as static final int X = Foo.X; (a qualified self-reference) or A.X = B.Y / B.Y = A.X across classes, therefore recurses until it throws StackOverflowError. That is an Error, not an Exception, so it ends the analysis instead of failing one rule. Before this PR only literal initializers were evaluated, so this could not happen. Fix: set a sentinel such as constant = Optional.empty() before calling declaredConstant(), or keep an in-progress guard.

Mark the value as being computed before evaluating, so a cycle ends with no value
@Override
public Optional<Object> constantValue() {
  if (constant == null) {
    constant = Optional.empty();
    constant = Optional.ofNullable(declaredConstant());
  }
  return constant;
}
⚠️ Bug: Imports used only in module-info directives are reported as unused

📄 java-frontend/src/main/java/org/sonar/java/model/CompilerWarnings.java:51-58

CompilerWarnings.addTo collects identifier uses from packageDeclaration(), types() and imports(), but never scans unit.moduleDeclaration(). In a module-info.java such as import com.x.Service; module m { uses Service; }, the identifier Service is never collected. isUsed then returns false and an UNUSED_IMPORT warning is emitted. UselessImportCheck turns that warning into a false positive. Fix: also call visitor.scan(unit.moduleDeclaration()).

Fix
visitor.scan(unit.packageDeclaration());
visitor.scan(unit.moduleDeclaration());
visitor.scan(unit.types());
💡 Bug: Final instance fields lose their constant value; non-constant types gain one

📄 java-frontend/src/main/java/org/sonar/java/model/JVariableSymbol.java:76-90

isStaticFinalOrInterfaceMember now requires isStatic(). Before this PR, a final int X = 5; instance field with a literal initializer reported 5 as its constant. It now reports nothing, although JLS 4.12.4 constant variables (and ECJ's getConstantValue) do not need static. The declared type is also not checked. static final Object O = "s" or static final Integer I = 1 now get a constant, even though only primitive and String final variables can be constant variables. Fix: drop the static requirement, and only evaluate when the declared type is primitive or java.lang.String.

💡 Edge Case: Unused package on-demand imports are never reported

📄 java-frontend/src/main/java/org/sonar/java/model/CompilerWarnings.java:132-146

isResolvable only treats a name as resolvable if binaryName finds a declared type. For import java.util.*; it tries java.util and then java$util, gets null from both, and returns false. As a result, an unused on-demand import of a package is never reported, unless it is the current package. ECJ does report these, and UselessImportCheck.isImportFromSamePackage even has handling for ECJ's star-import message. Fix: also treat an on-demand qualifier as resolvable when some known type lives in that package, for example by asking the sema or the bridge whether the package exists.

💡 Bug: Shared unit bridge answers lazy lookups for earlier trees from the latest analyze

📄 java-frontend/src/main/java/org/sonar/java/model/JParser.java:56-70

The trees returned by JParser.parse load types lazily through bridge.types, and the bridge is shared by the whole JVM. The bridge server answers types from self.analysis, which every new analyze replaces (server.rs:83,90-93). Once a second unit is parsed, lazy lookups from the first tree run against the second unit's project types and classpath, which may be a different classpath argument or empty. On top of that, any failure in a later parse calls discardUnitBridge() and closes the bridge, so every lookup from trees already returned fails with UncheckedIOException. This goes against the comment that the bridge outlives the call. Each parse also registers another shutdown hook that keeps the bridge it started. Fix: give each parse its own analysis handle or bridge, or re-run that unit's analyze before answering its lookups.

💡 Bug: Signature parser keeps the outer class's type arguments on a non-generic inner type

📄 semsitter-bridge/src/types.rs:376-387

In signature_type, the b'.' branch adds $ to the name but does not clear args. A supertype written Lp/Outer<TT;>.Inner; therefore comes out as p.Outer$Inner with args [T], using the outer class's arguments. supertypeFromFact then builds a parameterized Outer$Inner<T> for a type that has no type parameters. The unit test only covers an inner type that is itself generic, where < clears the list. Fix: call args.clear() in the . branch as well.

Fix
b'.' => {
  args.clear();
  name.push(b'$');
  *i += 1;
}
💡 Edge Case: Effectively-final check counts assignments in the text, not definite assignment

📄 java-frontend/src/main/java/org/sonar/java/model/EffectivelyFinalVariables.java:32-46

mark treats a local declared without a value as effectively final when the text contains exactly one plain assignment to it. JLS 4.12.4 uses definite assignment instead. int x; if (c) x = 1; else x = 2; is effectively final but gets marked not final, because the count is 2. int x; while (c) { x = 1; } is not effectively final but gets marked final, because the count is 1. The class doc says this matches the compiler. Checks that read isEffectivelyFinal() will disagree with ECJ in both directions.

🤖 Prompt for agents
Code Review: Adds constant evaluation for static final fields, unused-import and assignment warnings, package symbol ownership, and deprecation on per-call views for the ECJ replacement PoC. Changes requested: constant evaluation recurses forever on cyclic static final fields, which can throw StackOverflowError and abort analysis. Also open: final instance fields lose their constant value while non-constant types gain one; imports used only in module-info directives are reported unused; unused package on-demand imports are never reported; the shared unit bridge answers lazy lookups from the latest analyze; the signature parser keeps outer type arguments on non-generic inner types; and the effectively-final check counts assignments textually rather than by definite assignment.

1. ⚠️ Bug: Constant evaluation recurses forever on cyclic static final fields
   Files: java-frontend/src/main/java/org/sonar/java/model/JVariableSymbol.java:70-84

   `constantValue()` stores `constant` only after `declaredConstant()` returns. `declaredConstant()` now evaluates any initializer through `ExpressionUtils.resolveAsConstant`, and that method resolves identifiers and member selects by calling `constantValue()` on the referenced field (ExpressionUtils.java:341). A cycle that compiles fine, such as `static final int X = Foo.X;` (a qualified self-reference) or `A.X = B.Y` / `B.Y = A.X` across classes, therefore recurses until it throws StackOverflowError. That is an Error, not an Exception, so it ends the analysis instead of failing one rule. Before this PR only literal initializers were evaluated, so this could not happen. Fix: set a sentinel such as `constant = Optional.empty()` before calling `declaredConstant()`, or keep an in-progress guard.

   Fix (Mark the value as being computed before evaluating, so a cycle ends with no value):
   @Override
   public Optional<Object> constantValue() {
     if (constant == null) {
       constant = Optional.empty();
       constant = Optional.ofNullable(declaredConstant());
     }
     return constant;
   }

2. 💡 Bug: Final instance fields lose their constant value; non-constant types gain one
   Files: java-frontend/src/main/java/org/sonar/java/model/JVariableSymbol.java:76-90

   `isStaticFinalOrInterfaceMember` now requires `isStatic()`. Before this PR, a `final int X = 5;` instance field with a literal initializer reported 5 as its constant. It now reports nothing, although JLS 4.12.4 constant variables (and ECJ's `getConstantValue`) do not need `static`. The declared type is also not checked. `static final Object O = "s"` or `static final Integer I = 1` now get a constant, even though only primitive and String final variables can be constant variables. Fix: drop the static requirement, and only evaluate when the declared type is primitive or `java.lang.String`.

3. ⚠️ Bug: Imports used only in module-info directives are reported as unused
   Files: java-frontend/src/main/java/org/sonar/java/model/CompilerWarnings.java:51-58

   `CompilerWarnings.addTo` collects identifier uses from `packageDeclaration()`, `types()` and `imports()`, but never scans `unit.moduleDeclaration()`. In a `module-info.java` such as `import com.x.Service; module m { uses Service; }`, the identifier `Service` is never collected. `isUsed` then returns false and an `UNUSED_IMPORT` warning is emitted. `UselessImportCheck` turns that warning into a false positive. Fix: also call `visitor.scan(unit.moduleDeclaration())`.

   Fix:
   visitor.scan(unit.packageDeclaration());
   visitor.scan(unit.moduleDeclaration());
   visitor.scan(unit.types());

4. 💡 Edge Case: Unused package on-demand imports are never reported
   Files: java-frontend/src/main/java/org/sonar/java/model/CompilerWarnings.java:132-146

   `isResolvable` only treats a name as resolvable if `binaryName` finds a declared type. For `import java.util.*;` it tries `java.util` and then `java$util`, gets `null` from both, and returns false. As a result, an unused on-demand import of a package is never reported, unless it is the current package. ECJ does report these, and `UselessImportCheck.isImportFromSamePackage` even has handling for ECJ's star-import message. Fix: also treat an on-demand qualifier as resolvable when some known type lives in that package, for example by asking the sema or the bridge whether the package exists.

5. 💡 Bug: Shared unit bridge answers lazy lookups for earlier trees from the latest analyze
   Files: java-frontend/src/main/java/org/sonar/java/model/JParser.java:56-70

   The trees returned by `JParser.parse` load types lazily through `bridge.types`, and the bridge is shared by the whole JVM. The bridge server answers `types` from `self.analysis`, which every new `analyze` replaces (server.rs:83,90-93). Once a second unit is parsed, lazy lookups from the first tree run against the second unit's project types and classpath, which may be a different `classpath` argument or empty. On top of that, any failure in a later parse calls `discardUnitBridge()` and closes the bridge, so every lookup from trees already returned fails with `UncheckedIOException`. This goes against the comment that the bridge outlives the call. Each parse also registers another shutdown hook that keeps the bridge it started. Fix: give each parse its own analysis handle or bridge, or re-run that unit's `analyze` before answering its lookups.

6. 💡 Bug: Signature parser keeps the outer class's type arguments on a non-generic inner type
   Files: semsitter-bridge/src/types.rs:376-387

   In `signature_type`, the `b'.'` branch adds `$` to the name but does not clear `args`. A supertype written `Lp/Outer<TT;>.Inner;` therefore comes out as `p.Outer$Inner` with args `[T]`, using the outer class's arguments. `supertypeFromFact` then builds a parameterized `Outer$Inner<T>` for a type that has no type parameters. The unit test only covers an inner type that is itself generic, where `<` clears the list. Fix: call `args.clear()` in the `.` branch as well.

   Fix:
   b'.' => {
     args.clear();
     name.push(b'$');
     *i += 1;
   }

7. 💡 Edge Case: Effectively-final check counts assignments in the text, not definite assignment
   Files: java-frontend/src/main/java/org/sonar/java/model/EffectivelyFinalVariables.java:32-46

   `mark` treats a local declared without a value as effectively final when the text contains exactly one plain assignment to it. JLS 4.12.4 uses definite assignment instead. `int x; if (c) x = 1; else x = 2;` is effectively final but gets marked not final, because the count is 2. `int x; while (c) { x = 1; }` is not effectively final but gets marked final, because the count is 1. The class doc says this matches the compiler. Checks that read `isEffectivelyFinal()` will disagree with ECJ in both directions.

Verification Rules 1/1 met Knowledge ✅ 2 Repos 2 inspected · PRs 3 inspected

Functional validation No results

Rules 1 passed 2 not applicable

✅ Repository license compliance

Knowledge ✅ 2 expectations met

Expectation met JParser.parse(ASTParser, String version, String unitName, String source) / JParserConfig#astParser(): dependency with SonarSource/sonar-java-symbolic-execution expectation met
Expectation met org.sonar.java.model.JParser.parse(ASTParser, String, String, String): dependency with SonarSource/sonar-java-symbolic-execution expectation met

Broader impact Repos 2 inspected PRs 3 inspected
Cross-repo 2 repositories inspected 0 open impacts

SonarSource/sonar-java-symbolic-execution Inspected
SonarSource/sonarqube Inspected

Cross-PR 3 PRs inspected 0 open impacts

PR 6432: SONARJAVA-7259 Introduce a compiler-neutral frontend backend with scoped resource management Inspected
PR 6416: SONARJAVA-7252 Decouple the Java frontend from Eclipse JDT core Inspected
PR 6437: SONARJAVA-7236 Score AST and semantic mismatches against ECJ Inspected

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.
Unblock → Override a blocking verdict and allow merging.

Comment with these commands to change the behavior for this request:

Auto-apply Compact Unblock
gitar auto-apply:on         
gitar display:verbose         
gitar unblock         

Was this helpful? React with 👍 / 👎 | Gitar

@antonioaversa antonioaversa changed the title AIRES-8088 Fix SemSitter frontend gaps found on the ECJ replacement PoC (do not merge) [DO NOT MERGE] AIRES-8088 Fix SemSitter frontend gaps found on the ECJ replacement PoC Nov 1, 2026
Comment on lines 76 to +90
@Nullable
private Object declaredConstant() {
VariableTree declaration = declaration();
if (declaration == null || !(declaration.initializer() instanceof LiteralTree literal)
|| !(isFinal() || owner().isInterface() || isEnum())) {
if (declaration == null || declaration.initializer() == null || declaration.type() == null || !isStaticFinalOrInterfaceMember()) {
return null;
}
return LiteralUtils.constantValue(literal);
ExpressionTree initializer = declaration.initializer();
Object value = initializer.is(Tree.Kind.LONG_LITERAL, Tree.Kind.FLOAT_LITERAL, Tree.Kind.DOUBLE_LITERAL)
? literalNumber((LiteralTree) initializer)
: ExpressionUtils.resolveAsConstant(initializer);
return convert(value, declaration.type().symbolType());
}

private boolean isStaticFinalOrInterfaceMember() {
boolean constantKind = isFinal() || owner().isInterface() || isEnum();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Bug: Final instance fields lose their constant value; non-constant types gain one

isStaticFinalOrInterfaceMember now requires isStatic(). Before this PR, a final int X = 5; instance field with a literal initializer reported 5 as its constant. It now reports nothing, although JLS 4.12.4 constant variables (and ECJ's getConstantValue) do not need static. The declared type is also not checked. static final Object O = "s" or static final Integer I = 1 now get a constant, even though only primitive and String final variables can be constant variables. Fix: drop the static requirement, and only evaluate when the declared type is primitive or java.lang.String.

Was this helpful? React with 👍 / 👎

Comment on lines +51 to +58
static void addTo(JavaTree.CompilationUnitTreeImpl unit) {
CompilerWarnings visitor = new CompilerWarnings(unit.sema);
visitor.scan(unit.packageDeclaration());
visitor.scan(unit.types());
unit.imports().forEach(visitor::scan);
visitor.reportUnusedImports(unit);
unit.addWarnings(visitor.warnings);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Bug: Imports used only in module-info directives are reported as unused

CompilerWarnings.addTo collects identifier uses from packageDeclaration(), types() and imports(), but never scans unit.moduleDeclaration(). In a module-info.java such as import com.x.Service; module m { uses Service; }, the identifier Service is never collected. isUsed then returns false and an UNUSED_IMPORT warning is emitted. UselessImportCheck turns that warning into a false positive. Fix: also call visitor.scan(unit.moduleDeclaration()).

Fix:

visitor.scan(unit.packageDeclaration());
visitor.scan(unit.moduleDeclaration());
visitor.scan(unit.types());
  • Apply fix

Check the box to apply the fix or reply for a change | Was this helpful? React with 👍 / 👎

Comment on lines +132 to +146
private boolean isResolvable(ImportTree importTree, String name, String currentPackage) {
if (importTree instanceof JavaTree.ImportTreeImpl impl && impl.isModule()) {
return true;
}
boolean onDemand = name.endsWith(".*");
String qualifier = onDemand ? name.substring(0, name.length() - 2) : name;
if (onDemand && !importTree.isStatic() && qualifier.equals(currentPackage)) {
return true;
}
return resolvesType(importTree.isStatic() && !onDemand ? qualifier.substring(0, Math.max(0, qualifier.lastIndexOf('.'))) : qualifier);
}

private boolean resolvesType(String dotted) {
return binaryName(dotted) != null;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Edge Case: Unused package on-demand imports are never reported

isResolvable only treats a name as resolvable if binaryName finds a declared type. For import java.util.*; it tries java.util and then java$util, gets null from both, and returns false. As a result, an unused on-demand import of a package is never reported, unless it is the current package. ECJ does report these, and UselessImportCheck.isImportFromSamePackage even has handling for ECJ's star-import message. Fix: also treat an on-demand qualifier as resolvable when some known type lives in that package, for example by asking the sema or the bridge whether the package exists.

Was this helpful? React with 👍 / 👎

Comment on lines +56 to +70
Path directory = null;
try {
SemsitterBridge bridge = unitBridge();
directory = privateTempDirectory();
Path file = directory.resolve(Path.of(unitName.endsWith(".java") ? unitName : (unitName + ".java")).getFileName().toString());
Files.writeString(file, source, StandardCharsets.UTF_8);
JsonObject document;
synchronized (bridge) {
bridge.analyze(directory, List.of(file), JParserConfig.bridgeClasspath(classpath));
document = bridge.cst(file.toString());
}
JSema sema = new JSema();
sema.ingestDocument(document);
// Types load lazily while rules run, so the bridge outlives this call.
sema.loadTypes(names -> {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Bug: Shared unit bridge answers lazy lookups for earlier trees from the latest analyze

The trees returned by JParser.parse load types lazily through bridge.types, and the bridge is shared by the whole JVM. The bridge server answers types from self.analysis, which every new analyze replaces (server.rs:83,90-93). Once a second unit is parsed, lazy lookups from the first tree run against the second unit's project types and classpath, which may be a different classpath argument or empty. On top of that, any failure in a later parse calls discardUnitBridge() and closes the bridge, so every lookup from trees already returned fails with UncheckedIOException. This goes against the comment that the bridge outlives the call. Each parse also registers another shutdown hook that keeps the bridge it started. Fix: give each parse its own analysis handle or bridge, or re-run that unit's analyze before answering its lookups.

Was this helpful? React with 👍 / 👎

Comment on lines +376 to +387
b'<' => {
*i += 1;
args.clear();
while *i < bytes.len() && bytes[*i] != b'>' {
args.push(signature_type(signature, i));
}
*i += 1;
}
b'.' => {
name.push(b'$');
*i += 1;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Bug: Signature parser keeps the outer class's type arguments on a non-generic inner type

In signature_type, the b'.' branch adds $ to the name but does not clear args. A supertype written Lp/Outer<TT;>.Inner; therefore comes out as p.Outer$Inner with args [T], using the outer class's arguments. supertypeFromFact then builds a parameterized Outer$Inner<T> for a type that has no type parameters. The unit test only covers an inner type that is itself generic, where < clears the list. Fix: call args.clear() in the . branch as well.

Fix:

b'.' => {
  args.clear();
  name.push(b'$');
  *i += 1;
}
  • Apply fix

Check the box to apply the fix or reply for a change | Was this helpful? React with 👍 / 👎

Comment on lines +32 to +46
/**
* Marks the local variables and parameters that are never reassigned (JLS 4.12.4), as the compiler does.
* A variable declared without a value stays effectively final after one plain assignment.
*/
final class EffectivelyFinalVariables extends BaseTreeVisitor {

private final Map<Symbol, int[]> assignments = new IdentityHashMap<>();
private final List<VariableTree> variables = new ArrayList<>();

private EffectivelyFinalVariables() {
}

static void mark(JavaTree.CompilationUnitTreeImpl unit) {
EffectivelyFinalVariables visitor = new EffectivelyFinalVariables();
visitor.scan(unit);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Edge Case: Effectively-final check counts assignments in the text, not definite assignment

mark treats a local declared without a value as effectively final when the text contains exactly one plain assignment to it. JLS 4.12.4 uses definite assignment instead. int x; if (c) x = 1; else x = 2; is effectively final but gets marked not final, because the count is 2. int x; while (c) { x = 1; } is not effectively final but gets marked final, because the count is 1. The class doc says this matches the compiler. Checks that read isEffectivelyFinal() will disagree with ECJ in both directions.

Was this helpful? React with 👍 / 👎

@antonioaversa

Copy link
Copy Markdown
Contributor Author

/pvf

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

⚖️ Ruling update ready for review: #6444

@datadog-sonarsource

Copy link
Copy Markdown

Pipelines

⚠️ Warnings

Your PR has warnings. Please review the issues below.

🚦 8 Pipeline jobs failed

Build | Build and Unit Test on Windows — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Build | Plugin QA (LATEST_RELEASE, false) — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Build | Ruling QA (warp-custom-ubuntu-24-04, only-sonarqube-project, LATEST_RELEASE) — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

View all 8 failed jobs.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: dedca18 | Docs | View more details | Give us feedback!

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

⚖️ Ruling update ready for review: #6444

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Ruling Diff Summary

Detected changes in 123 rule files: 2803 issues removed, 2153 issues added.

S112 (java) on eclipse-jetty - 2 issues removed, 17 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java (line 359)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java (line 920)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java (line 978)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java (line 1014)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/ShutdownHandler.java (line 237)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ShutdownHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java (line 400)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java (line 771)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/HouseKeeper.java (line 104)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/HouseKeeper.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/HouseKeeper.java (line 143)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/HouseKeeper.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionDataStore.java (line 722)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionDataStore.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionDataStore.java (line 629)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionDataStore.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 1332)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java (line 172)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java (line 183)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java (line 1099)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java)
S1128 (java) on eclipse-jetty - 0 issues removed, 15 issues added

Added jetty-http/src/main/java/module-info.java (line 19)

(source file not found at this revision: jetty-http/src/main/java/module-info.java)

Added jetty-http/src/main/java/module-info.java (line 20)

(source file not found at this revision: jetty-http/src/main/java/module-info.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java (line 53)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/IdleTimeoutHandler.java (line 23)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/IdleTimeoutHandler.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/AsyncCompletionTest.java (line 43)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/AsyncCompletionTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/HttpOutputTest.java (line 33)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/HttpOutputTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/handler/StatisticsHandlerTest.java (line 31)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/handler/StatisticsHandlerTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/session/HouseKeeperTest.java (line 28)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/session/HouseKeeperTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/session/SessionHandlerTest.java (line 25)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/session/SessionHandlerTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SSLEngineTest.java (line 37)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SSLEngineTest.java)

Added jetty-slf4j-impl/src/main/java/module-info.java (line 19)

(source file not found at this revision: jetty-slf4j-impl/src/main/java/module-info.java)

Added jetty-slf4j-impl/src/main/java/module-info.java (line 20)

(source file not found at this revision: jetty-slf4j-impl/src/main/java/module-info.java)

Added jetty-util/src/main/java/module-info.java (line 19)

(source file not found at this revision: jetty-util/src/main/java/module-info.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/MemoryUtils.java (line 22)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/MemoryUtils.java)

Added jetty-xml/src/main/java/module-info.java (line 19)

(source file not found at this revision: jetty-xml/src/main/java/module-info.java)
S1130 (java) on eclipse-jetty - 10 issues removed, 502 issues added

Removed jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java (line 197)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java (line 89)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java (line 102)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java (line 126)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java)

Removed jetty-http/src/test/java/org/eclipse/jetty/http/HttpCookieTest.java (line 114)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpCookieTest.java)

Removed jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java (line 33)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java)

Removed jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java (line 247)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java)

Removed jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java (line 267)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java (line 296)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/IncludeExcludeConnectionStatistics.java (line 53)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/IncludeExcludeConnectionStatistics.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java (line 149)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java (line 183)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java (line 351)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java (line 257)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java (line 343)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java)
S1144 (java) on eclipse-jetty - 1 issues removed, 36 issues added

Added jetty-http/src/main/java/org/eclipse/jetty/http/CookieCompliance.java (line 45)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/CookieCompliance.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java (line 62)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java (line 62)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeader.java (line 158)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeader.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java (line 60)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpScheme.java (line 50)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpScheme.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java (line 179)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpVersion.java (line 108)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpVersion.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java (line 90)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java (line 101)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java (line 113)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java (line 304)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java (line 309)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 279)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 284)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)
S1162 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/HandlerCollection.java (line 150)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/HandlerCollection.java)
S117 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java (line 533)

(source file not found at this revision: jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java)
S1172 (java) on eclipse-jetty - 3 issues removed, 0 issues added

Removed jetty-server/src/test/java/org/eclipse/jetty/server/HttpServerTestFixture.java (line 112)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/HttpServerTestFixture.java)

Removed jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SSLCloseTest.java (line 93)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SSLCloseTest.java)

Removed jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SSLSelectChannelConnectorLoadTest.java (line 334)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SSLSelectChannelConnectorLoadTest.java)
S1181 (java) on eclipse-jetty - 16 issues removed, 3 issues added

Removed jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java (line 1594)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java)

Removed jetty-http/src/main/java/org/eclipse/jetty/http/PreEncodedHttpField.java (line 55)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/PreEncodedHttpField.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java (line 221)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java (line 249)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java (line 335)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnection.java (line 76)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnection.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java (line 168)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/AsyncRequestLogWriter.java (line 86)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/AsyncRequestLogWriter.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java (line 346)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java (line 394)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java (line 414)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java (line 516)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java (line 878)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java (line 596)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/MultiPartFormInputStream.java (line 627)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/MultiPartFormInputStream.java)
S1185 (java) on eclipse-jetty - 6 issues removed, 0 issues added

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 508)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/AcceptRateLimit.java (line 269)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/AcceptRateLimit.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/HotSwapHandler.java (line 85)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/HotSwapHandler.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/HotSwapHandler.java (line 91)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/HotSwapHandler.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java (line 142)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java (line 148)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java)
S1226 (java) on eclipse-jetty - 0 issues removed, 194 issues added - new ruling file

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java (line 519)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java (line 156)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java (line 562)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java (line 802)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java (line 806)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java (line 812)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java (line 185)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java (line 187)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java (line 189)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java (line 94)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java (line 96)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java (line 98)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java (line 225)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java (line 97)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java (line 277)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java)
S125 (java) on eclipse-jetty - 0 issues removed, 4 issues added

Added jetty-server/src/test/java/org/eclipse/jetty/server/AsyncRequestReadTest.java (line 136)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/AsyncRequestReadTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/ShutdownMonitorTest.java (line 219)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ShutdownMonitorTest.java)
S131 (java) on eclipse-jetty - 0 issues removed, 1 issues added

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java (line 149)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java)
S1604 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-util/src/main/java/org/eclipse/jetty/util/MemoryUtils.java (line 37)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/MemoryUtils.java)
S1612 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java (line 213)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java)
S1643 (java) on eclipse-jetty - 0 issues removed, 3 issues added

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java (line 176)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java (line 181)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java (line 186)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java)
S1698 (java) on eclipse-jetty - 0 issues removed, 12 issues added

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java (line 115)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java (line 135)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java (line 165)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java (line 131)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java)
S1939 (java) on eclipse-jetty - 4 issues removed, 0 issues added

Removed jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java (line 514)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java)

Removed jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java (line 41)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/InetAccessSet.java (line 33)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/InetAccessSet.java)

Removed jetty-util/src/main/java/org/eclipse/jetty/util/InetAddressSet.java (line 39)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/InetAddressSet.java)
S2109 (java) on eclipse-jetty - 0 issues removed, 1 issues added - new ruling file

Added jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java (line 240)

(source file not found at this revision: jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java)
S2142 (java) on eclipse-jetty - 5 issues removed, 0 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java (line 674)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java (line 279)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java (line 305)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/Server.java (line 493)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/Server.java)

Removed jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java (line 281)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java)
S2160 (java) on eclipse-jetty - 0 issues removed, 3 issues added

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/RegexPathSpec.java (line 24)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/RegexPathSpec.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java (line 26)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java (line 41)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java)
S2175 (java) on eclipse-jetty - 0 issues removed, 2 issues added - new ruling file

Added jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java (line 105)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java (line 157)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java)
S2184 (java) on eclipse-jetty - 0 issues removed, 2 issues added

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 1166)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java (line 866)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java)
S2185 (java) on eclipse-jetty - 0 issues removed, 1 issues added - new ruling file

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 1166)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)
S2187 (java) on eclipse-jetty - 0 issues removed, 30 issues added - new ruling file

Added jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterLenientTest.java (line 37)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterLenientTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java (line 38)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/HttpURIParseTest.java (line 35)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/HttpURIParseTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecMatchListTest.java (line 36)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecMatchListTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java (line 35)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java)

Added jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecBadSpecsTest.java (line 32)

(source file not found at this revision: jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecBadSpecsTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/AsyncCompletionTest.java (line 71)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/AsyncCompletionTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/DelayedServerTest.java (line 33)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/DelayedServerTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/HttpManyWaysToAsyncCommitTest.java (line 51)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/HttpManyWaysToAsyncCommitTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/HttpManyWaysToCommitTest.java (line 45)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/HttpManyWaysToCommitTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/MultiPartCaptureTest.java (line 59)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/MultiPartCaptureTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/ProxyConnectionTest.java (line 40)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ProxyConnectionTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorAsyncContextTest.java (line 26)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorAsyncContextTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorCloseTest.java (line 24)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorCloseTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorHttpServerTest.java (line 26)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/ServerConnectorHttpServerTest.java)
S2209 (java) on eclipse-jetty - 0 issues removed, 2 issues added - new ruling file

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java (line 901)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/security/Credential.java (line 81)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/security/Credential.java)
S2221 (java) on eclipse-jetty - 4 issues removed, 13 issues added

Removed jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java (line 208)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java)

Removed jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java (line 252)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelListeners.java (line 124)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelListeners.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java (line 305)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/LocalConnector.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java (line 739)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java (line 842)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java (line 96)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java (line 169)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/CachingSessionDataStore.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/DefaultSessionIdManager.java (line 306)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/DefaultSessionIdManager.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 365)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 387)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 930)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/component/StopLifeCycle.java (line 51)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/component/StopLifeCycle.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/thread/ShutdownThread.java (line 151)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/thread/ShutdownThread.java)
S2293 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-util/src/main/java/org/eclipse/jetty/util/thread/Sweeper.java (line 92)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/thread/Sweeper.java)
S2325 (java) on eclipse-jetty - 5 issues removed, 0 issues added

Removed jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java (line 1064)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java (line 351)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor.java (line 234)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionContext.java (line 111)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionContext.java)

Removed jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/StdErrAppender.java (line 188)

(source file not found at this revision: jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/StdErrAppender.java)
S2387 (java) on eclipse-jetty - 0 issues removed, 8 issues added - new ruling file

Added jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java (line 47)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSocketChannelEndPoint.java (line 35)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSocketChannelEndPoint.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/SocketChannelEndPoint.java (line 44)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/SocketChannelEndPoint.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelOverHttp.java (line 51)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelOverHttp.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/component/StopLifeCycle.java (line 29)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/component/StopLifeCycle.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/resource/JarFileResource.java (line 39)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/resource/JarFileResource.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java (line 48)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/thread/strategy/EatWhatYouKill.java (line 60)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/thread/strategy/EatWhatYouKill.java)
S2694 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java (line 209)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java)
S2698 (java) on eclipse-jetty - 0 issues removed, 25 issues added

Added jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java (line 292)

(source file not found at this revision: jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java)

Added jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java (line 293)

(source file not found at this revision: jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java)

Added jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java (line 321)

(source file not found at this revision: jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java)
S2699 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-slf4j-impl/src/test/java/org/eclipse/jetty/logging/JettyLoggerTest.java (line 221)

(source file not found at this revision: jetty-slf4j-impl/src/test/java/org/eclipse/jetty/logging/JettyLoggerTest.java)
S2925 (java) on eclipse-jetty - 0 issues removed, 5 issues added

Added jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java (line 561)

(source file not found at this revision: jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/DelayedServerTest.java (line 80)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/DelayedServerTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/DelayedServerTest.java (line 100)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/DelayedServerTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/HttpManyWaysToAsyncCommitTest.java (line 978)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/HttpManyWaysToAsyncCommitTest.java)

Added jetty-server/src/test/java/org/eclipse/jetty/server/handler/NcsaRequestLogTest.java (line 589)

(source file not found at this revision: jetty-server/src/test/java/org/eclipse/jetty/server/handler/NcsaRequestLogTest.java)
S2972 (java) on eclipse-jetty - 4 issues removed, 0 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/DebugListener.java (line 198)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/DebugListener.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/DebugListener.java (line 239)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/DebugListener.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/DebugListener.java (line 293)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/DebugListener.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/StatisticsHandler.java (line 72)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/StatisticsHandler.java)
S3038 (java) on eclipse-jetty - 1 issues removed, 1 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/AbstractHandler.java (line 62)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/AbstractHandler.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java (line 310)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java)
S3077 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/StatisticsHandler.java (line 51)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/StatisticsHandler.java)
S3242 (java) on eclipse-jetty - 0 issues removed, 2 issues added

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionData.java (line 130)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionData.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/LazyList.java (line 147)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/LazyList.java)
S3252 (java) on eclipse-jetty - 7 issues removed, 8 issues added

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java (line 901)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java)

Added jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java (line 88)

(source file not found at this revision: jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilderImpl.java (line 45)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilderImpl.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/Request.java (line 296)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/Request.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java (line 122)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java (line 415)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java (line 417)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java (line 151)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java (line 167)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 78)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/security/Credential.java (line 81)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/security/Credential.java)
S3398 (java) on eclipse-jetty - 11 issues removed, 3 issues added

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java (line 309)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 279)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 284)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Removed jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 289)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 300)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Added jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java (line 316)

(source file not found at this revision: jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/CachedContentFactory.java (line 296)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/CachedContentFactory.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java (line 286)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java (line 234)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java)

Removed jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor.java (line 122)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor.java)
S3878 (java) on eclipse-jetty - 1 issues removed, 27 issues added

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java (line 432)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java (line 460)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java (line 445)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java (line 457)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java (line 469)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionDataStore.java (line 61)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionDataStore.java)

Added jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java (line 1235)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java)

Added jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/JettyLoggerFactory.java (line 141)

(source file not found at this revision: jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/JettyLoggerFactory.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java (line 109)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/TypeUtil.java (line 204)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/TypeUtil.java)

Removed jetty-util/src/main/java/org/eclipse/jetty/util/preventers/GCThreadLeakPreventer.java (line 47)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/preventers/GCThreadLeakPreventer.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceCollection.java (line 81)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceCollection.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceCollection.java (line 118)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceCollection.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceCollection.java (line 176)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceCollection.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java (line 514)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java)
S4144 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-server/src/main/java/org/eclipse/jetty/server/AsyncContextEvent.java (line 71)

(source file not found at this revision: jetty-server/src/main/java/org/eclipse/jetty/server/AsyncContextEvent.java)
S4174 (java) on eclipse-jetty - 1 issues removed, 0 issues added

Removed jetty-util/src/main/java/org/eclipse/jetty/util/MemoryUtils.java (line 33)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/MemoryUtils.java)
S4830 (java) on eclipse-jetty - 0 issues removed, 6 issues added - new ruling file

Added jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java (line 2326)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java (line 2333)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java)

Added jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java (line 2340)

(source file not found at this revision: jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java)

... and 80 more rules with changes (diff too large to display fully)

@hashicorp-vault-sonar-prod

Copy link
Copy Markdown
Contributor

📊 Performance Validation complete
🆕 62155 new · 🗑️ 353067 lost issues
View dashboard

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant