krakatoa
asked on
Suppress runtime WARNINGs.
What's the way to get :
into the runtime execution - (on the command line, as well as from a .jar file), - of a programme, please guys ?
The attempts I've made to use this to mute the WARNINGS that come back haven't worked and still get output to the console. Is there perhaps even another way to suppress runtime warnings ? Thanks again.
--illegal-access=<value>
(with 'value' in this case of "permit" )into the runtime execution - (on the command line, as well as from a .jar file), - of a programme, please guys ?
The attempts I've made to use this to mute the WARNINGS that come back haven't worked and still get output to the console. Is there perhaps even another way to suppress runtime warnings ? Thanks again.
ASKER
C:\EE_Q_CODE>java WindowsRegistry2
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by WindowsRegistry2 (file:/C:/EE_Q_CODE/) to
method java.util.prefs.WindowsPreferences.WindowsRegOpenKey(long,byte[],int)
WARNING: Please consider reporting this to the maintainers of WindowsRegistry2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
>>USBSTOR\Disk&Ven_SanDisk&Prod_Cruzer_Blade&Rev_1.26\4C530203030206111132&0
<<
your program is called windowsregistry2
and you are WindowsPreferences.Windows RegOpenKey (long,byte [],int)
so why is it accessing The Sandisk Cruzer USB Drive?
and you are WindowsPreferences.Windows
so why is it accessing The Sandisk Cruzer USB Drive?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cut + Paste as text, not as image.
Likely someone can assist.