-
Sub-task
-
Resolution: Delivered
-
P4
-
8u451-perf, 11.0.28-oracle, 17.0.13.0.1-oracle, 17.0.15-oracle, 21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8345596 | 17.0.15-oracle | Marc Palmerjohnson | P4 | Resolved | Delivered | |
JDK-8349160 | 17.0.13.0.1-oracle | Marc Palmerjohnson | P4 | Resolved | Delivered | |
JDK-8349671 | 11.0.28-oracle | Marc Palmerjohnson | P4 | Resolved | Delivered | |
JDK-8345597 | 8u451-perf | Marc Palmerjohnson | P4 | Resolved | Delivered |
In prior releases, `JNI_GetCreatedJavaVMs`:
```
jint JNI_GetCreatedJavaVMs(JavaVM **vmBuf, jsize bufLen, jsize *nVMs);
```
could return a `JavaVM`, via the `vmBuf` array, that was still in the process of being initialized and may not be ready for use. This has now changed so that it will only return fully initialized VMs. It is important that the programmer checks that the returned number of VMs, in `nVMs`, is greater than zero, before trying to use any `vmBuf` entries.
```
jint JNI_GetCreatedJavaVMs(JavaVM **vmBuf, jsize bufLen, jsize *nVMs);
```
could return a `JavaVM`, via the `vmBuf` array, that was still in the process of being initialized and may not be ready for use. This has now changed so that it will only return fully initialized VMs. It is important that the programmer checks that the returned number of VMs, in `nVMs`, is greater than zero, before trying to use any `vmBuf` entries.
- backported by
-
JDK-8345596 Release Note: The JNI_GetCreatedJavaVMs Method Will Now Only Return a Fully Initialized VM
-
- Resolved
-
-
JDK-8345597 Release Note: The JNI_GetCreatedJavaVMs Method Will Now Only Return a Fully Initialized VM
-
- Resolved
-
-
JDK-8349160 Release Note: The JNI_GetCreatedJavaVMs Method Will Now Only Return a Fully Initialized VM
-
- Resolved
-
-
JDK-8349671 Release Note: The JNI_GetCreatedJavaVMs Method Will Now Only Return a Fully Initialized VM
-
- Resolved
-