- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    17, 18
- 
        b27
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8311655 | 17.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 | 
                    SonarCloud complains about code added in JDK-8277417:
Field "_info" shadows a field of the same name in base class "LIR_Op"
class LIR_OpLoadKlass: public LIR_Op {
friend class LIR_OpVisitState;
private:
LIR_Opr _obj;
CodeEmitInfo* _info; <--- here
From the look of it, it seems risky to have two inconsistent fields here. Depending on which base class we use to access it, we might have different _info-s referenced.
Field "_info" shadows a field of the same name in base class "LIR_Op"
class LIR_OpLoadKlass: public LIR_Op {
friend class LIR_OpVisitState;
private:
LIR_Opr _obj;
CodeEmitInfo* _info; <--- here
From the look of it, it seems risky to have two inconsistent fields here. Depending on which base class we use to access it, we might have different _info-s referenced.
- backported by
- 
                    JDK-8311655 LIR_OpLoadKlass::_info shadows the field of the same name from LIR_Op -           
- Resolved
 
-         
- relates to
- 
                    JDK-8277417 C1 LIR instruction for load-klass -           
- Resolved
 
-         
- links to
- 
                     Commit
        openjdk/jdk17u-dev/c39f3c13 Commit
        openjdk/jdk17u-dev/c39f3c13
- 
                     Commit
        openjdk/jdk/0e7b6bcd Commit
        openjdk/jdk/0e7b6bcd
- 
                     Review
        openjdk/jdk17u-dev/1530 Review
        openjdk/jdk17u-dev/1530
- 
                     Review
        openjdk/jdk/6669 Review
        openjdk/jdk/6669
             (1 links to)