View Issue Details

IDProjectCategoryView StatusLast Update
0000279fileGeneralpublic2021-08-16 10:13
ReporterJayc3Ca0 Assigned Tochristos  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.40 
Fixed in Version5.41 
Summary0000279: Java source code is reported as C source file
DescriptionJava source code file is reported as C source file by file command.
Steps To ReproduceWrite the following Java sample code (TestJava.java):

public class TestJava {
    public static void main(String[] args) {
        System.out.println("Hello Java");
    }
}

Use file command of the latest version to check its type:

$ file TestJava.java
TestJava.java: C source, ASCII text


Additional InformationTested on macOS 11.3.1 with version 5.40, which is installed by homebrew.
Also tested on CentOS 7 with version 5.11.37, which is installed by yum.
Tagsmagic

Activities

christos

2021-08-16 10:13

manager   ~0003636

Fixed, thanks!

Issue History

Date Modified Username Field Change
2021-08-05 03:20 Jayc3Ca0 New Issue
2021-08-05 03:20 Jayc3Ca0 Tag Attached: magic
2021-08-16 10:13 christos Assigned To => christos
2021-08-16 10:13 christos Status new => assigned
2021-08-16 10:13 christos Status assigned => resolved
2021-08-16 10:13 christos Resolution open => fixed
2021-08-16 10:13 christos Fixed in Version => 5.41
2021-08-16 10:13 christos Note Added: 0003636