papermc/scripts
Aikar b6cf80ee66
Preload important classes such as Logger and JLine
This is for 2 reasons:
1) Ensuring our log4j is mostly loaded at OUR version.
   I've seen stack traces with line numbers that do not match our version. This means that some
   plugin has shaded in log4j and their loaded version is mixing with ours....
   So by at least trying to load a bunch of log4j classes before we load plugins, we can be
   more sure mixed versions are not loading.

2) If the jar file is replaced while the server is runnimg class not found errors galore
   This will preloaod a bunch of classes commonly seen to error during shutdown due to this.

   The goal here is to help let the server shutdown gracefully as possible. Some plugins will
   still blow up here if they access a class that hadn't been loaded yet, but goal is to at least
   stop freezing the shutdown process as it does with JLine and Log4j errors requiring an external kill.

   Ideally you should not replace jars while the server is running, but it is something that happens in
   development for testing.

Updated test server to do a copy though to avoid this happening in Paper development.
2020-05-24 13:19:08 -04:00
..
pre-source-patches Move presource patches out of work/ 2019-06-16 14:34:36 -05:00
apatch.sh Try and make zsh complain less 2018-10-24 12:36:37 -04:00
applyPatches.sh Fix pooled buffer leak resulting in dynmap black spots - Fixes #3386 2020-05-20 00:55:30 -04:00
build.sh Properly forward exit 1 code from the paper root command 2018-07-30 17:37:24 -04:00
checkoutpr.sh Try and make zsh complain less 2018-10-24 12:36:37 -04:00
decompile.sh Initial work on 1.14 pre-5 2019-04-23 10:35:52 +01:00
functions.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
importmcdev.sh Performance patches prerequisite (#2802) 2020-01-27 18:16:53 -06:00
init.sh [CI-SKIP] The wheel in the sky keeps on turning 2019-08-10 10:04:10 -05:00
makemcdevsrc.sh Initial work on 1.14 pre-5 2019-04-23 10:35:52 +01:00
paperclip.sh Properly forward exit 1 code from the paper root command 2018-07-30 17:37:24 -04:00
rebuildPatches.sh Speed up rebuilding patches and reduce diff 2020-05-06 05:31:08 -04:00
remap.sh Aim towards real 1.14 2019-04-25 07:53:51 +01:00
testServer.sh Preload important classes such as Logger and JLine 2020-05-24 13:19:08 -04:00
upstreamCommit.sh [CI-SKIP] Add script to commit upstream changelogs 2018-08-05 21:31:40 -04:00
upstreamMerge.sh Updated Upstream (Bukkit/CraftBukkit) 2020-04-02 17:09:17 -04:00