deltanedas / ui-lib

Mindustry library mod that unifies and simplifies UI creation.
GNU General Public License v3.0
77 stars 36 forks source link

Crashes upon game launch #8

Closed XEN0PHIL closed 3 years ago

XEN0PHIL commented 3 years ago

tl;dr: rhino.EvaluatorException: Access to Java class "jdk.proxy2.$Proxy2" is prohibited.

Platform: Windows 7 x64 Game version: BE 20997 UI Lib version: 2.3.2 JDK version: 16 HotSpot Issue: Mindustry crashes when launching it with UI Lib enabled. Crashlog: crash-report-04_03_2021_02_29_03.txt

deltanedas commented 3 years ago

on Debian Sid, openjdk-14-jre-headless and UI Lib 2.16.6 it does not crash.

  1. update UI Lib
  2. consider using an older jre as that smells like modern java being strange. Screenshot_02:20:30