Skip to content

Boolean.FALSE fails to set Boolean value to false. #18

@upahsan

Description

@upahsan

This issue is present in both 2.0.0 and 3.1.1

Code:
`
public class Test_Boolean {

public static void main(String[] args) {
    Boolean b = Boolean.FALSE;
    System.out.println(Boolean.FALSE ? "FAILED" : "OK");
    System.out.println(b? "FAILED" : "OK");
}

}
`

This should print OK for both tests but it prints FAILED when run through j2s.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions