Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1427887 Details for
Bug 1572811
java crash under gdb
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
test code
tjava.cc (text/x-csrc), 486 bytes, created by
Dmitri A. Sergatskov
on 2018-04-27 23:45:22 UTC
(
hide
)
Description:
test code
Filename:
MIME Type:
Creator:
Dmitri A. Sergatskov
Created:
2018-04-27 23:45:22 UTC
Size:
486 bytes
patch
obsolete
>#include <jni.h> >#include <stdlib.h> > >int >main (void) >{ > JavaVMInitArgs vmArgs = { 0 }; > > vmArgs.version = JNI_VERSION_1_8; > vmArgs.nOptions = 0; > vmArgs.ignoreUnrecognized = false; > > JNIEnv *env = NULL; > JavaVM *jvm = NULL; > > jint ret = JNI_CreateJavaVM (&jvm, (void **) &env, &vmArgs); > if (ret < 0 || jvm == NULL) > { > printf ("failed\n"); > //log(0, "Unable to create a Java Virtual Machine"); > return -1; > } > > printf ("VM = %p\n", jvm); > > return 0; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1572811
: 1427887