- 
    Type:
Sub-task
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 17
 - 
    Component/s: hotspot
 
- 
        b21
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8278090 | 11.0.15 | Paul Hohensee | P4 | Resolved | Fixed | b01 | 
                    /home/ysuenaga/git-forked/jdk/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/libArrayIndexOutOfBoundsExceptionTest.c: In function 'Java_ArrayIndexOutOfBoundsExceptionTest_doNativeBooleanArrayRegionStore':
/home/ysuenaga/git-forked/jdk/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/libArrayIndexOutOfBoundsExceptionTest.c:51:4: warning: 'content' may be used uninitialized [-Wmaybe-uninitialized]
51 | (*env)->Set##NameType##ArrayRegion(env, array, start, len, content); \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/libArrayIndexOutOfBoundsExceptionTest.c:54:1: note: in expansion of macro 'REGIONACCESS'
54 | REGIONACCESS(jboolean, Boolean)
| ^~~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/libArrayIndexOutOfBoundsExceptionTest.c:51:4: warning: 'content' may be used uninitialized [-Wmaybe-uninitialized]
51 | (*env)->Set##NameType##ArrayRegion(env, array, start, len, content); \
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/libArrayIndexOutOfBoundsExceptionTest.c:54:1: note: in expansion of macro 'REGIONACCESS'
54 | REGIONACCESS(jboolean, Boolean)
| ^~~~~~~~~~~~
- backported by
 - 
                    
JDK-8278090 -Wmaybe-uninitialized happens in libArrayIndexOutOfBoundsExceptionTest.c
-         
     - Resolved
 
 -         
 
- relates to
 - 
                    
JDK-8217628 Verbose ArrayIndexOutOfBoundsException message also in JNI calls.
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit
        openjdk/jdk11u-dev/12ffc99d
    
 - 
                    
        
        Commit
        openjdk/jdk/39abac98
    
 - 
                    
        
        Review
        openjdk/jdk11u-dev/678
    
 - 
                    
        
        Review
        openjdk/jdk/3744
    
 
             (1 links to)