- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    18
- 
        b27
- 
        generic
- 
        generic
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8278697 | 19 | Vicente Arturo Romero Zaldivar | P4 | Resolved | Fixed | team | 
                    A DESCRIPTION OF THE PROBLEM :
The JDK source code contains the following redundant boolean operations which have no effect; some of them could be simplified and some might be bugs.
- https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/make/langtools/tools/compileproperties/CompileProperties.java#L186
`true &&` has no effect; maybe wrong precedence?
- Should simplify to `= false`
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1304
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1318
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1340
- Has no effect, should maybe be `= true`?
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1316
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1338
            
The JDK source code contains the following redundant boolean operations which have no effect; some of them could be simplified and some might be bugs.
- https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/make/langtools/tools/compileproperties/CompileProperties.java#L186
`true &&` has no effect; maybe wrong precedence?
- Should simplify to `= false`
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1304
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1318
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1340
- Has no effect, should maybe be `= true`?
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1316
https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java#L1338
- backported by
- 
                    JDK-8278697 JDK source code contains redundant boolean operations in jdk.compiler and langtools -           
- Resolved
 
-         
- clones
- 
                    JDK-8275767 JDK source code contains redundant boolean operations in jdk.charsets -           
- Resolved
 
-         
 
        