Repository navigation
Closed
Labels
core-engineModifications to the central physics and parsing enginetestingUnit, integration, and E2E pipeline verification
Description
Part of the extraction-hardening epic (#813). See
tests/extraction/how_to_harden_extraction.md
for the full methodology this issue follows.
Language: java
Known finding to fix first
func_start breaks on one-level-nested generic bounds (e.g. <T, U extends Comparable<U>>) -- the flat <[^>]*> alternative in the modifiers section can't represent one level of nesting. Same 'Rule 11' bug class already fixed elsewhere in epic #518; fix shape is the established <(?:[^<>]|<[^<>]*>)*> one-level-nesting idiom.
Rules in scope (non-None in LANGUAGE_DEFINITIONS["java"]["rules"]):
- func_start
- args
- class_start
- _dependency_capture
Checklist (per the methodology doc, for each in-scope rule above)
-
valid: modern idiom + legacy/historical syntax eras + testing-framework-shaped functions -
invalid: string-literal lookalikes, type-level lookalikes, assignment-in-condition, macro-expansion lookalikes, and any language-specific lookalike shape -
pathological: 10-15 cases covering annotation/attribute stacking, nested generics/templates, destructured/complex params, multi-line splits at every plausible boundary - Every case empirically verified against the real compiled regex before being added
- Any genuine bug found is fixed (full ReDoS/lint/type/crucible discipline) or filed separately if it's a multi-language architectural fix
- Migrated out of the four old monolithic dict files into
tests/extraction/languages/test_java.py - Epic updated with any new recurring-bug-class findings before closing this issue
Metadata
Metadata
Assignees
Labels
core-engineModifications to the central physics and parsing enginetestingUnit, integration, and E2E pipeline verification
Activity
Fix #816: Extraction hardening for java (epic #813) (#868)
Fix #818: Extraction hardening for python (epic #813) (#872)
Fix #820: Extraction hardening for csharp (epic #813) (#880)