![]() ![]() Which is to say, it seems to work just as well - with no error messages or stack traces - as it did with my Java 8 JDK. The dock icon badge is the number of turns you have available. "Quit" goes through KoLmafia.quit, which saves settings, logs you out, etc. "Preferences" menu item opens our Preferences Frame "About KoLmafia" menu item pops up our custom About frame Otherwise, they use the old Application object which is no longer supported. If I find the enum tag, all the OSXAdapter methods now use Desktop or Taskbar objects to register event handlers. I have heavily whacked OSXAdapter to detect if you are using at least Java 9 (by looking at the Enum tags for Desktop.Action and seeing if "APP_ABOUT" is included even if I compile it with target of 1.8, if my jdk is 14, that enum tag will be present. and more similar exceptions.I should have everything I need to address this issue at my leisure. : .setEnabledAboutMenu(boolean)Īt java.base/(Class.java:2553)Īt .tAboutHandler(OSXAdapter.java:114)Īt .addOSXMenuItems(CreateFrameRunnable.java:357)Īt .decorate(CreateFrameRunnable.java:335)Īt .runConstruction(CreateFrameRunnable.java:302)Īt .createFrame(CreateFrameRunnable.java:182)Īt .run(CreateFrameRunnable.java:164)Īt sktop/.dispatch(InvocationEvent.java:306)Īt sktop/(EventQueue.java:770)Īt sktop/$4.run(EventQueue.java:721)Īt sktop/$4.run(EventQueue.java:715)Īt java.base/(AccessController.java:391)Īt java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)Īt sktop/(EventQueue.java:740)Īt sktop/(EventDispatchThread.java:203)Īt sktop/(EventDispatchThread.java:124)Īt sktop/(EventDispatchThread.java:113)Īt sktop/(EventDispatchThread.java:109)Īt sktop/(EventDispatchThread.java:101)Īt sktop/(EventDispatchThread.java:90) ![]() ![]() OSXAdapter could not access the About Menu WARNING: Illegal reflective access by .OSXAdapter (file:/src/kolmafia/dist/KoLmafia-20.7.jar) to constructor () Local Directory is /Users/Brianna/Library/Application Support/KoLmafia Maybe I should upgrade from Java 8 to Java 9 so I can experiment.īash-3.2$ java -jar dist/KoLmafia-20.7.jar I suppose we could do the same thing to get Java 9 Desktop and Taskbar objects and use those in place of - which would fix Catalina, since that class is removed there. OSXAdapter uses reflection to get objects and lookup and invoke methods on them. Isn't it nice that we now require Java 8? Supposedly, in Java 9, windows are fullscreenable by default. Java 9 provides os-independent support for icon badge and icon image in. Java 9 provides os-independent support for the About, Quit, and Preferences handlers in. KoLmafia.java:498: tDockIconImage( JComponentUtilities.getImage( "limeglass.gif" ).getImage() ) CreateFrameRunnable.java:359: tPreferencesHandler( KoLmafia.class, CreateFrameRunnable.java:357: tAboutHandler( KoLmafia.class, CreateFrameRunnable.java:355: tQuitHandler( KoLmafia.class, swingui/GenericFrame.java:207: tWindowCanFullScreen( this, true ) KoLCharacter.java:2586: tDockIconBadge( String.valueOf( adventuresLeft ) ) I am running (Java 8 on) macOS 10.14 - Mojave. OSXAdapter could not access the About MenuHe is running (Java 14 on) macOS 10.15 - Catalina. ApplicationEvent handling has been disabled (: ) This version of Mac OS X does not support the Apple EAWT. WARNING: All illegal access operations will be denied in a future release WARNING: Use -illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: Please consider reporting this to the maintainers of .OSXAdapter WARNING: Illegal reflective access by .OSXAdapter (file:/Users/croft/Games/KoL/KoLmafia-20276.jar) to constructor () WARNING: An illegal reflective access operation has occurred Local Directory is /Users/croft/Library/Application Support/KoLmafia ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |