Skip to content

Back2Source: Java cases where .class map with .g/.g4 #1808

@chinyeungli

Description

@chinyeungli

Input: antlr4-4.5.1-beta-1
URL:
Devel: https://github.com/antlr/antlr4/archive/refs/tags/4.5.1-beta-1.zip
Deploy: https://github.com/antlr/antlr4/releases/download/4.5.1-beta-1/antlr-4.5.1-beta-1-complete.jar

I ran the map_deploy_to_develop:Java pipeline in SCIO and found out there are some strange cases that the following .class files don't have match

to/org/antlr/v4/runtime/tree/xpath/XPathLexer.class
to/org/antlr/v4/codegen/SourceGenTriggers.class
to/org/antlr/v4/parse/ActionSplitter.class
to/org/antlr/v4/parse/ANTLRLexer.class
to/org/antlr/v4/parse/ANTLRParser.class
to/org/antlr/v4/parse/ATNBuilder.class
to/org/antlr/v4/parse/BlockSetTransformer.class
to/org/antlr/v4/parse/GrammarTreeVisitor.class
to/org/antlr/v4/parse/LeftRecursiveRuleWalker.class

but these actually have matches with

from/antlr4-4.5.1-beta-1/runtime/Java/src/org/antlr/v4/runtime/tree/xpath/XPathLexer.g4
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/ActionSplitter.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/ANTLRLexer.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/ANTLRParser.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/ATNBuilder.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/BlockSetTransformer.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/GrammarTreeVisitor.g
from/antlr4-4.5.1-beta-1/tool/src/org/antlr/v4/parse/LeftRecursiveRuleWalker.g

Reference: #1510

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions