Diff of the two buildlogs: -- --- b1/build.log 2025-09-10 15:01:41.527821339 +0000 +++ b2/build.log 2025-09-10 15:09:58.492459883 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 10 02:53:12 -12 2025 -I: pbuilder-time-stamp: 1757515992 +I: Current time: Wed Oct 14 11:24:44 +14 2026 +I: pbuilder-time-stamp: 1791926684 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -25,53 +25,85 @@ dpkg-source: info: applying 02-java11-compatibility.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3082081/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 13 21:25 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b9d429f8657241fc9f708542992338e0' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3082081' - PS1='# ' - PS2='> ' + INVOCATION_ID=c164a36b431547c78f4dafc7d0911c3c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2478446 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.WM1BFfj7/pbuilderrc_zHbJ --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.WM1BFfj7/b1 --logfile b1/build.log gmbal-pfl_4.0.1-b003-2.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.WM1BFfj7/pbuilderrc_7yKR --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.WM1BFfj7/b2 --logfile b2/build.log gmbal-pfl_4.0.1-b003-2.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3082081/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -426,7 +458,7 @@ Get: 305 http://deb.debian.org/debian forky/main amd64 maven all 3.9.9-1 [19.7 kB] Get: 306 http://deb.debian.org/debian forky/main amd64 maven-repo-helper all 1.12 [136 kB] Get: 307 http://deb.debian.org/debian forky/main amd64 maven-debian-helper all 2.6.8 [107 kB] -Fetched 267 MB in 25s (10.5 MB/s) +Fetched 267 MB in 11s (24.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19897 files and directories currently installed.) @@ -1892,7 +1924,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/gmbal-pfl-4.0.1-b003/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../gmbal-pfl_4.0.1-b003-2_source.changes +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/gmbal-pfl-4.0.1-b003/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../gmbal-pfl_4.0.1-b003-2_source.changes dpkg-buildpackage: info: source package gmbal-pfl dpkg-buildpackage: info: source version 4.0.1-b003-2 dpkg-buildpackage: info: source distribution unstable @@ -2413,19 +2449,19 @@ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Primitive Function Library (PFL) 4.0.1-b003: [INFO] -[INFO] Primitive Function Library (PFL) ................... SUCCESS [ 0.013 s] -[INFO] PFL Basic .......................................... SUCCESS [ 15.644 s] -[INFO] PFL Basic Tools .................................... SUCCESS [ 2.371 s] -[INFO] PFL ASM ............................................ SUCCESS [ 6.766 s] -[INFO] PFL Dynamic ........................................ SUCCESS [ 5.962 s] -[INFO] PFL TF ............................................. SUCCESS [ 2.931 s] -[INFO] PFL TF TOOLS ....................................... SUCCESS [ 0.412 s] -[INFO] PFL Test ........................................... SUCCESS [ 1.686 s] +[INFO] Primitive Function Library (PFL) ................... SUCCESS [ 0.012 s] +[INFO] PFL Basic .......................................... SUCCESS [ 17.672 s] +[INFO] PFL Basic Tools .................................... SUCCESS [ 1.135 s] +[INFO] PFL ASM ............................................ SUCCESS [ 7.378 s] +[INFO] PFL Dynamic ........................................ SUCCESS [ 7.366 s] +[INFO] PFL TF ............................................. SUCCESS [ 1.468 s] +[INFO] PFL TF TOOLS ....................................... SUCCESS [ 0.280 s] +[INFO] PFL Test ........................................... SUCCESS [ 0.748 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ -[INFO] Total time: 37.687 s -[INFO] Finished at: 2025-09-10T14:58:53Z +[INFO] Total time: 38.241 s +[INFO] Finished at: 2026-10-13T21:29:46Z [INFO] ------------------------------------------------------------------------ dh_auto_test -O--buildsystem=maven /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/reproducible-path/gmbal-pfl-4.0.1-b003 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/reproducible-path/gmbal-pfl-4.0.1-b003/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/reproducible-path/gmbal-pfl-4.0.1-b003/debian -Dmaven.repo.local=/build/reproducible-path/gmbal-pfl-4.0.1-b003/debian/maven-repo --batch-mode test @@ -2484,9 +2520,29 @@ [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- +[INFO] Running org.glassfish.pfl.basic.algorithm.ObjectUtilityTest +[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.19 s <<< FAILURE! - in org.glassfish.pfl.basic.algorithm.ObjectUtilityTest +[ERROR] whenObjectInJdk_displayFields(org.glassfish.pfl.basic.algorithm.ObjectUtilityTest) Time elapsed: 0.074 s <<< ERROR! +java.lang.ExceptionInInitializerError + at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectInJdk_displayFields(ObjectUtilityTest.java:69) +Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde + at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectInJdk_displayFields(ObjectUtilityTest.java:69) + +[ERROR] whenObjectNotInJdk_displayFields(org.glassfish.pfl.basic.algorithm.ObjectUtilityTest) Time elapsed: 0 s <<< ERROR! +java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper + at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectNotInJdk_displayFields(ObjectUtilityTest.java:56) +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] + at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectInJdk_displayFields(ObjectUtilityTest.java:69) + +[INFO] Running org.glassfish.pfl.basic.algorithm.AnnotationAnalyzerTest +clsCA=ClassAnalyzer[MetaD MetaC D C B A] +ancestorCA=ClassAnalyzer[D C B A] +[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in org.glassfish.pfl.basic.algorithm.AnnotationAnalyzerTest +[INFO] Running org.glassfish.pfl.basic.logex.WrapperGeneratorTest +[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in org.glassfish.pfl.basic.logex.WrapperGeneratorTest [INFO] Running org.glassfish.pfl.basic.reflection.BridgeTest -[ERROR] Tests run: 42, Failures: 0, Errors: 41, Skipped: 1, Time elapsed: 0.309 s <<< FAILURE! - in org.glassfish.pfl.basic.reflection.BridgeTest -[ERROR] whenParentReadResolveMethodIsNotAccessible_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.033 s <<< ERROR! +[ERROR] Tests run: 42, Failures: 0, Errors: 41, Skipped: 1, Time elapsed: 0.094 s <<< FAILURE! - in org.glassfish.pfl.basic.reflection.BridgeTest +[ERROR] whenParentReadResolveMethodIsNotAccessible_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.ExceptionInInitializerError at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2494,27 +2550,27 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenBridgeCreatesConstructor_canConstructNonPublicExternalizedClass(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenBridgeCreatesConstructor_canConstructNonPublicExternalizedClass(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.004 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenReadResolveMethodLacksObjectReturnType_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenReadResolveMethodLacksObjectReturnType_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] createOptionalDataException(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] createOptionalDataException(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] getInt(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] getInt(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.002 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] putInt(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] putInt(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.008 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] putDouble(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.007 s <<< ERROR! +[ERROR] putDouble(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2542,7 +2598,7 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] getByte(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.003 s <<< ERROR! +[ERROR] getByte(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2558,7 +2614,7 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenClassHasNoReadResolveMethod_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenClassHasNoReadResolveMethod_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2566,7 +2622,7 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenBridgeCreatesConstructor_nonSerializableBaseClassIsInitialized(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.007 s <<< ERROR! +[ERROR] whenBridgeCreatesConstructor_nonSerializableBaseClassIsInitialized(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2574,19 +2630,19 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] getDouble(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] getDouble(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] putBoolean(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] putBoolean(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] getObject(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] getObject(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] throwUndeclaredCheckedException(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.008 s <<< ERROR! +[ERROR] throwUndeclaredCheckedException(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2602,27 +2658,27 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] getBoolean(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] getBoolean(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenClassHasWriteObjectMethod_mayInvokeViaHandle(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenClassHasWriteObjectMethod_mayInvokeViaHandle(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenClassHasReadResolveMethod_mayInvokeViaHandle(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenClassHasReadResolveMethod_mayInvokeViaHandle(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] putFloat(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.004 s <<< ERROR! +[ERROR] putFloat(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] putShort(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! +[ERROR] putShort(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenReadResolveMethodIsStatic_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenReadResolveMethodIsStatic_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2630,7 +2686,7 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenReadObjectMethodHasReturnType_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenReadObjectMethodHasReturnType_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) @@ -2642,34 +2698,14 @@ java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenClassHasReadObjectMethod_mayInvokeViaHandle(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenClassHasReadObjectMethod_mayInvokeViaHandle(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[ERROR] whenClassHasNoReadObjectMethod_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0 s <<< ERROR! +[ERROR] whenClassHasNoReadObjectMethod_returnNull(org.glassfish.pfl.basic.reflection.BridgeTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.BridgeTest at org.glassfish.pfl.basic.reflection.BridgeTest.(BridgeTest.java:79) -[INFO] Running org.glassfish.pfl.basic.algorithm.ObjectUtilityTest -[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.glassfish.pfl.basic.algorithm.ObjectUtilityTest -[ERROR] whenObjectInJdk_displayFields(org.glassfish.pfl.basic.algorithm.ObjectUtilityTest) Time elapsed: 0 s <<< ERROR! -java.lang.ExceptionInInitializerError - at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectInJdk_displayFields(ObjectUtilityTest.java:69) -Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde - at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectInJdk_displayFields(ObjectUtilityTest.java:69) - -[ERROR] whenObjectNotInJdk_displayFields(org.glassfish.pfl.basic.algorithm.ObjectUtilityTest) Time elapsed: 0 s <<< ERROR! -java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper - at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectNotInJdk_displayFields(ObjectUtilityTest.java:56) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] - at org.glassfish.pfl.basic.algorithm.ObjectUtilityTest.whenObjectInJdk_displayFields(ObjectUtilityTest.java:69) - -[INFO] Running org.glassfish.pfl.basic.algorithm.AnnotationAnalyzerTest -clsCA=ClassAnalyzer[MetaD MetaC D C B A] -ancestorCA=ClassAnalyzer[D C B A] -[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in org.glassfish.pfl.basic.algorithm.AnnotationAnalyzerTest -[INFO] Running org.glassfish.pfl.basic.logex.WrapperGeneratorTest -[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143 s - in org.glassfish.pfl.basic.logex.WrapperGeneratorTest [INFO] [INFO] Results: [INFO] @@ -2799,33 +2835,17 @@ [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- -[INFO] Running org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest -[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.247 s <<< FAILURE! - in org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest -[ERROR] afterCopyingHashMap_mapHasCachedResult(org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest) Time elapsed: 0.072 s <<< ERROR! -java.lang.ExceptionInInitializerError - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) -Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - -[ERROR] afterCopyingHashMap_mayAddEntries(org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest) Time elapsed: 0.015 s <<< ERROR! -java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mayAddEntries(ClassCopierTest.java:60) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - +[INFO] Running org.glassfish.pfl.dynamic.codegen.ClassInfoTest +[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 s - in org.glassfish.pfl.dynamic.codegen.ClassInfoTest [INFO] Running org.glassfish.pfl.dynamic.codegen.TypeTest REMINDER: need to work on testHashReferenceWideningConversion REMINDER: need to work on testHashReferenceNarrowingConversion -[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 s - in org.glassfish.pfl.dynamic.codegen.TypeTest -[INFO] Running org.glassfish.pfl.dynamic.codegen.impl.IdentifierTest -[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.glassfish.pfl.dynamic.codegen.impl.IdentifierTest -[INFO] Running org.glassfish.pfl.dynamic.codegen.ClassInfoTest -[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.glassfish.pfl.dynamic.codegen.ClassInfoTest -[INFO] Running org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest -[ERROR] Tests run: 17, Failures: 17, Errors: 0, Skipped: 0, Time elapsed: 0.194 s <<< FAILURE! - in org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.006 s <<< FAILURE! +[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in org.glassfish.pfl.dynamic.codegen.TypeTest +[INFO] Running org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest +[ERROR] Tests run: 17, Failures: 17, Errors: 0, Skipped: 0, Time elapsed: 0.192 s <<< FAILURE! - in org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.018 s <<< FAILURE! junit.framework.AssertionFailedError: -Exception in constructor: testSimpleIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl +Exception in constructor: testSimpleIf1 (java.lang.ExceptionInInitializerError at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -2837,14 +2857,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -2867,7 +2887,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -2883,31 +2903,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.005 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testSimpleIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -2921,14 +2921,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -2951,7 +2951,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -2967,31 +2967,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.008 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3005,14 +2985,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3035,7 +3015,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3051,31 +3031,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.004 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3089,14 +3049,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3119,7 +3079,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3135,31 +3095,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.004 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3173,14 +3113,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3203,7 +3143,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3219,31 +3159,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.005 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3257,14 +3177,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3287,7 +3207,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3303,31 +3223,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.006 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3341,14 +3241,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3371,7 +3271,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3387,31 +3287,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.016 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3425,14 +3305,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3455,7 +3335,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3471,27 +3351,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -3509,14 +3369,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3539,7 +3399,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3555,31 +3415,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf8 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3593,14 +3433,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3623,7 +3463,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3639,31 +3479,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.003 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testComplexIf9 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3677,14 +3497,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3707,7 +3527,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3723,31 +3543,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testSimpleTryCatch1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3761,14 +3561,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3791,7 +3591,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3807,27 +3607,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -3845,14 +3625,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3875,7 +3655,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3891,31 +3671,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testSimpleTryCatch3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -3929,14 +3689,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -3959,7 +3719,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -3975,31 +3735,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.004 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testSimpleTryCatch4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -4013,14 +3753,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4043,7 +3783,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4059,31 +3799,11 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.005 s <<< FAILURE! +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testSimpleTryCatch5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -4097,14 +3817,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4127,7 +3847,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4143,27 +3863,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4181,14 +3881,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4211,7 +3911,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4227,33 +3927,13 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) -[INFO] Running org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest -[ERROR] Tests run: 17, Failures: 17, Errors: 0, Skipped: 0, Time elapsed: 0.022 s <<< FAILURE! - in org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! +[INFO] Running org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest +[ERROR] Tests run: 17, Failures: 17, Errors: 0, Skipped: 0, Time elapsed: 0.034 s <<< FAILURE! - in org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! junit.framework.AssertionFailedError: Exception in constructor: testSimpleIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -4267,14 +3947,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4297,7 +3977,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4313,27 +3993,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4351,14 +4030,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4381,7 +4060,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4397,27 +4076,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4435,14 +4113,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4465,7 +4143,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4481,27 +4159,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4519,14 +4196,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4549,7 +4226,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4565,27 +4242,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4603,14 +4279,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4633,7 +4309,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4649,33 +4325,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) - at junit.framework.TestSuite$1.runTest(TestSuite.java:96) - -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.005 s <<< FAILURE! -junit.framework.AssertionFailedError: -Exception in constructor: testComplexIf4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -4695,6 +4344,32 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) + at junit.framework.TestSuite$1.runTest(TestSuite.java:96) + +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! +junit.framework.AssertionFailedError: +Exception in constructor: testComplexIf4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4717,7 +4392,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4733,27 +4408,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4771,14 +4445,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4801,7 +4475,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4817,27 +4491,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -4855,14 +4528,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4885,7 +4558,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4901,33 +4574,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) - at junit.framework.TestSuite$1.runTest(TestSuite.java:96) - -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! -junit.framework.AssertionFailedError: -Exception in constructor: testComplexIf7 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -4947,6 +4593,32 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) + at junit.framework.TestSuite$1.runTest(TestSuite.java:96) + +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.009 s <<< FAILURE! +junit.framework.AssertionFailedError: +Exception in constructor: testComplexIf7 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -4969,7 +4641,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -4985,33 +4657,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) - at junit.framework.TestSuite$1.runTest(TestSuite.java:96) - -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! -junit.framework.AssertionFailedError: -Exception in constructor: testComplexIf8 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -5031,6 +4676,32 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) + at junit.framework.TestSuite$1.runTest(TestSuite.java:96) + +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! +junit.framework.AssertionFailedError: +Exception in constructor: testComplexIf8 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5053,7 +4724,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5069,27 +4740,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -5107,14 +4777,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5137,7 +4807,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5153,33 +4823,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) - at junit.framework.TestSuite$1.runTest(TestSuite.java:96) - -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! -junit.framework.AssertionFailedError: -Exception in constructor: testSimpleTryCatch1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -5199,6 +4842,32 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) + at junit.framework.TestSuite$1.runTest(TestSuite.java:96) + +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! +junit.framework.AssertionFailedError: +Exception in constructor: testSimpleTryCatch1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5221,7 +4890,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5237,33 +4906,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) - at junit.framework.TestSuite$1.runTest(TestSuite.java:96) - -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! -junit.framework.AssertionFailedError: -Exception in constructor: testSimpleTryCatch2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -5283,6 +4925,32 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) + at junit.framework.TestSuite$1.runTest(TestSuite.java:96) + +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.002 s <<< FAILURE! +junit.framework.AssertionFailedError: +Exception in constructor: testSimpleTryCatch2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5305,7 +4973,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5321,27 +4989,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -5359,14 +5026,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5389,7 +5056,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5405,27 +5072,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -5443,14 +5109,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5473,7 +5139,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5489,33 +5155,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) - at junit.framework.TestSuite$1.runTest(TestSuite.java:96) - -[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0 s <<< FAILURE! -junit.framework.AssertionFailedError: -Exception in constructor: testSimpleTryCatch5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -5535,6 +5174,32 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) + at junit.framework.TestSuite$1.runTest(TestSuite.java:96) + +[ERROR] warning(junit.framework.TestSuite$1) Time elapsed: 0.001 s <<< FAILURE! +junit.framework.AssertionFailedError: +Exception in constructor: testSimpleTryCatch5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5557,7 +5222,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5573,27 +5238,26 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) @@ -5611,14 +5275,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5641,7 +5305,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5657,38 +5321,51 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) at junit.framework.TestSuite$1.runTest(TestSuite.java:96) [INFO] Running org.glassfish.pfl.dynamic.codegen.ClientTest -[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.glassfish.pfl.dynamic.codegen.ClientTest +[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in org.glassfish.pfl.dynamic.codegen.ClientTest +[INFO] Running org.glassfish.pfl.dynamic.codegen.impl.IdentifierTest +[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.glassfish.pfl.dynamic.codegen.impl.IdentifierTest +[INFO] Running org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest +[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.037 s <<< FAILURE! - in org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest +[ERROR] afterCopyingHashMap_mapHasCachedResult(org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest) Time elapsed: 0.026 s <<< ERROR! +java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] + +[ERROR] afterCopyingHashMap_mayAddEntries(org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest) Time elapsed: 0.005 s <<< ERROR! +java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mayAddEntries(ClassCopierTest.java:60) +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] + [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] junit.framework.TestSuite$1.warning(junit.framework.TestSuite$1) -[ERROR] Run 1: TestSuite$1.warning Exception in constructor: testSimpleIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl +[ERROR] Run 1: TestSuite$1.warning Exception in constructor: testSimpleIf1 (java.lang.ExceptionInInitializerError at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -5700,14 +5377,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5730,7 +5407,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5746,27 +5423,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 2: TestSuite$1.warning Exception in constructor: testSimpleIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -5780,14 +5437,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5810,7 +5467,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5826,27 +5483,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 3: TestSuite$1.warning Exception in constructor: testComplexIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -5860,14 +5497,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5890,7 +5527,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5906,27 +5543,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 4: TestSuite$1.warning Exception in constructor: testComplexIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -5940,14 +5557,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -5970,7 +5587,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -5986,27 +5603,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 5: TestSuite$1.warning Exception in constructor: testComplexIf3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6020,14 +5617,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6050,7 +5647,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6066,27 +5663,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 6: TestSuite$1.warning Exception in constructor: testComplexIf4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6100,14 +5677,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6130,7 +5707,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6146,27 +5723,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 7: TestSuite$1.warning Exception in constructor: testComplexIf5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6180,14 +5737,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6210,7 +5767,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6226,27 +5783,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 8: TestSuite$1.warning Exception in constructor: testComplexIf6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6260,14 +5797,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6290,7 +5827,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6306,27 +5843,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 9: TestSuite$1.warning Exception in constructor: testComplexIf7 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6340,14 +5857,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6370,7 +5887,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6386,27 +5903,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 10: TestSuite$1.warning Exception in constructor: testComplexIf8 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6420,14 +5917,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6450,7 +5947,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6466,27 +5963,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 11: TestSuite$1.warning Exception in constructor: testComplexIf9 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6500,14 +5977,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6530,7 +6007,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6546,27 +6023,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 12: TestSuite$1.warning Exception in constructor: testSimpleTryCatch1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6580,14 +6037,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6610,7 +6067,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6626,27 +6083,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 13: TestSuite$1.warning Exception in constructor: testSimpleTryCatch2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6660,14 +6097,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6690,7 +6127,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6706,27 +6143,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 14: TestSuite$1.warning Exception in constructor: testSimpleTryCatch3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6740,14 +6157,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6770,7 +6187,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6786,27 +6203,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 15: TestSuite$1.warning Exception in constructor: testSimpleTryCatch4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6820,14 +6217,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6850,7 +6247,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6866,27 +6263,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 16: TestSuite$1.warning Exception in constructor: testSimpleTryCatch5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6900,14 +6277,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -6930,7 +6307,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -6946,27 +6323,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 17: TestSuite$1.warning Exception in constructor: testSimpleTryCatch6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -6980,14 +6337,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7010,7 +6367,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7026,27 +6383,7 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + ... 41 more ) [ERROR] Run 18: TestSuite$1.warning Exception in constructor: testSimpleIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) @@ -7060,14 +6397,14 @@ at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) - at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) - at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) - at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7090,7 +6427,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7106,29 +6443,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 19: TestSuite$1.warning Exception in constructor: testSimpleIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7148,6 +6462,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 19: TestSuite$1.warning Exception in constructor: testSimpleIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7170,7 +6506,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7186,29 +6522,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 20: TestSuite$1.warning Exception in constructor: testComplexIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7228,6 +6541,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 20: TestSuite$1.warning Exception in constructor: testComplexIf1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7250,7 +6585,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7266,29 +6601,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 21: TestSuite$1.warning Exception in constructor: testComplexIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7308,6 +6620,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 21: TestSuite$1.warning Exception in constructor: testComplexIf2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7330,7 +6664,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7346,29 +6680,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 22: TestSuite$1.warning Exception in constructor: testComplexIf3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7388,6 +6699,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 22: TestSuite$1.warning Exception in constructor: testComplexIf3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7410,7 +6743,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7426,29 +6759,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 23: TestSuite$1.warning Exception in constructor: testComplexIf4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7468,6 +6778,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 23: TestSuite$1.warning Exception in constructor: testComplexIf4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7490,7 +6822,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7506,29 +6838,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 24: TestSuite$1.warning Exception in constructor: testComplexIf5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7548,6 +6857,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 24: TestSuite$1.warning Exception in constructor: testComplexIf5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7570,7 +6901,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7586,29 +6917,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 25: TestSuite$1.warning Exception in constructor: testComplexIf6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7628,6 +6936,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 25: TestSuite$1.warning Exception in constructor: testComplexIf6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7650,7 +6980,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7666,29 +6996,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 26: TestSuite$1.warning Exception in constructor: testComplexIf7 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7708,6 +7015,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 26: TestSuite$1.warning Exception in constructor: testComplexIf7 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7730,7 +7059,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7746,29 +7075,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 27: TestSuite$1.warning Exception in constructor: testComplexIf8 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7788,6 +7094,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 27: TestSuite$1.warning Exception in constructor: testComplexIf8 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7810,7 +7138,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7826,29 +7154,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 28: TestSuite$1.warning Exception in constructor: testComplexIf9 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7868,6 +7173,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 28: TestSuite$1.warning Exception in constructor: testComplexIf9 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7890,7 +7217,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7906,29 +7233,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 29: TestSuite$1.warning Exception in constructor: testSimpleTryCatch1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -7948,6 +7252,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 29: TestSuite$1.warning Exception in constructor: testSimpleTryCatch1 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -7970,7 +7296,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -7986,29 +7312,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 30: TestSuite$1.warning Exception in constructor: testSimpleTryCatch2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -8028,6 +7331,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 30: TestSuite$1.warning Exception in constructor: testSimpleTryCatch2 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -8050,7 +7375,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8066,29 +7391,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 31: TestSuite$1.warning Exception in constructor: testSimpleTryCatch3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -8108,6 +7410,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 31: TestSuite$1.warning Exception in constructor: testSimpleTryCatch3 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -8130,7 +7454,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8146,29 +7470,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 32: TestSuite$1.warning Exception in constructor: testSimpleTryCatch4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -8188,6 +7489,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 32: TestSuite$1.warning Exception in constructor: testSimpleTryCatch4 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -8210,7 +7533,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8226,29 +7549,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 33: TestSuite$1.warning Exception in constructor: testSimpleTryCatch5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -8268,6 +7568,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 33: TestSuite$1.warning Exception in constructor: testSimpleTryCatch5 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -8290,7 +7612,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8306,29 +7628,6 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more -) -[ERROR] Run 34: TestSuite$1.warning Exception in constructor: testSimpleTryCatch6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) @@ -8348,6 +7647,28 @@ at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more +) +[ERROR] Run 34: TestSuite$1.warning Exception in constructor: testSimpleTryCatch6 (java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.ByteCodeGenerator.(ByteCodeGenerator.java:53) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromByteCode(GenerationTestSuiteBase.java:140) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$200(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:177) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.BytecodeGenerationFlowTest.(BytecodeGenerationFlowTest.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) @@ -8370,7 +7691,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @2eafffde [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @5a42bbf4 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8386,31 +7707,30 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierTest.afterCopyingHashMap_mapHasCachedResult(ClassCopierTest.java:74) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) - ... 7 more + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$PackageContext.(Wrapper.java:494) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment._clear(Wrapper.java:719) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$Environment.(Wrapper.java:714) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:918) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper$1.initialValue(Wrapper.java:915) + at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) + at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper.env(Wrapper.java:923) + at org.glassfish.pfl.dynamic.codegen.spi.Wrapper._clear(Wrapper.java:1200) + at org.glassfish.pfl.dynamic.codegen.CodeGeneratorBase.(CodeGeneratorBase.java:52) + at org.glassfish.pfl.dynamic.codegen.JavaCodeGenerator.(JavaCodeGenerator.java:98) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.generateFromSource(GenerationTestSuiteBase.java:133) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.access$300(GenerationTestSuiteBase.java:67) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase$Inner.get(GenerationTestSuiteBase.java:179) + at org.glassfish.pfl.dynamic.codegen.GenerationTestSuiteBase.getClass(GenerationTestSuiteBase.java:200) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.init(FlowTestSuiteBase.java:55) + at org.glassfish.pfl.dynamic.codegen.FlowTestSuiteBase.(FlowTestSuiteBase.java:66) + at org.glassfish.pfl.dynamic.codegen.SourceGenerationFlowTest.(SourceGenerationFlowTest.java:49) + ... 22 more ) [INFO] [ERROR] Errors: -[ERROR] ClassCopierTest.afterCopyingHashMap_mapHasCachedResult:74 ExceptionInInitializer +[ERROR] ClassCopierTest.afterCopyingHashMap_mapHasCachedResult:74 NoClassDefFound Coul... [ERROR] ClassCopierTest.afterCopyingHashMap_mayAddEntries:60 NoClassDefFound Could not... [INFO] [ERROR] Tests run: 42, Failures: 1, Errors: 2, Skipped: 1 @@ -8445,20 +7765,20 @@ [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- -[INFO] Running org.glassfish.pfl.tf.timer.spi.NamedBaseTest -[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 s - in org.glassfish.pfl.tf.timer.spi.NamedBaseTest -[INFO] Running org.glassfish.pfl.tf.timer.spi.TimerFactoryActivationTest -[WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.43 s - in org.glassfish.pfl.tf.timer.spi.TimerFactoryActivationTest -[INFO] Running org.glassfish.pfl.tf.timer.spi.TimerFactoryTest -[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.glassfish.pfl.tf.timer.spi.TimerFactoryTest [INFO] Running org.glassfish.pfl.tf.timer.spi.LogEventHandlerTest -[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.glassfish.pfl.tf.timer.spi.LogEventHandlerTest +[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 s - in org.glassfish.pfl.tf.timer.spi.LogEventHandlerTest [INFO] Running org.glassfish.pfl.tf.timer.spi.StatsEventHandlerTest -[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 s - in org.glassfish.pfl.tf.timer.spi.StatsEventHandlerTest +[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.19 s - in org.glassfish.pfl.tf.timer.spi.StatsEventHandlerTest +[INFO] Running org.glassfish.pfl.tf.timer.spi.TimerFactoryActivationTest +[WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.926 s - in org.glassfish.pfl.tf.timer.spi.TimerFactoryActivationTest [INFO] Running org.glassfish.pfl.tf.timer.spi.TimerTest -[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.895 s - in org.glassfish.pfl.tf.timer.spi.TimerTest +[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.885 s - in org.glassfish.pfl.tf.timer.spi.TimerTest +[INFO] Running org.glassfish.pfl.tf.timer.spi.TimerFactoryTest +[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.glassfish.pfl.tf.timer.spi.TimerFactoryTest +[INFO] Running org.glassfish.pfl.tf.timer.spi.NamedBaseTest +[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.glassfish.pfl.tf.timer.spi.NamedBaseTest [INFO] Running org.glassfish.pfl.tf.timer.impl.ControllableBaseTest -[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.glassfish.pfl.tf.timer.impl.ControllableBaseTest +[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.glassfish.pfl.tf.timer.impl.ControllableBaseTest [INFO] [INFO] Results: [INFO] @@ -8525,17 +7845,16 @@ [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- -[INFO] Running dynamic.copyobject.NewReflectFallbackTest +[INFO] Running dynamic.copyobject.NewReflectTest java.lang.ExceptionInInitializerError at org.glassfish.pfl.dynamic.copyobject.impl.DefaultClassCopierFactories$1.getClassCopier(DefaultClassCopierFactories.java:93) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierFactoryPipelineImpl.getClassCopier(ClassCopierFactoryPipelineImpl.java:263) at org.glassfish.pfl.dynamic.copyobject.impl.ObjectCopierImpl.copy(ObjectCopierImpl.java:107) - at org.glassfish.pfl.dynamic.copyobject.impl.FallbackObjectCopierImpl.copy(FallbackObjectCopierImpl.java:61) at dynamic.copyobject.Client.copyObject(Client.java:119) at dynamic.copyobject.Client.copyObject(Client.java:110) at dynamic.copyobject.Client.conditionTimingTests(Client.java:1655) at dynamic.copyobject.Client.makeSuite(Client.java:216) - at dynamic.copyobject.NewReflectFallbackTest.suite(NewReflectFallbackTest.java:66) + at dynamic.copyobject.NewReflectTest.suite(NewReflectTest.java:74) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35) @@ -8555,7 +7874,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e +Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8571,9 +7890,9 @@ at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl$1.run(ClassCopierOrdinaryImpl.java:85) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.(ClassCopierOrdinaryImpl.java:84) - ... 28 more -[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.139 s <<< FAILURE! - in dynamic.copyobject.NewReflectFallbackTest -[ERROR] initializationError(dynamic.copyobject.NewReflectFallbackTest) Time elapsed: 0.017 s <<< ERROR! + ... 27 more +[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.104 s <<< FAILURE! - in dynamic.copyobject.NewReflectTest +[ERROR] initializationError(dynamic.copyobject.NewReflectTest) Time elapsed: 0.005 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "junit.framework.Test.getClass()" because "test" is null [INFO] Running dynamic.copyobject.JavaStreamTest @@ -8581,77 +7900,78 @@ Testing copyObject with the dynamic.copyobject.JavaStreamTest implementation ================================================================ -[ERROR] Tests run: 116, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 0.777 s <<< FAILURE! - in dynamic.copyobject.JavaStreamTest -[ERROR] testTreeSet(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.017 s <<< ERROR! +[ERROR] Tests run: 116, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 2.332 s <<< FAILURE! - in dynamic.copyobject.JavaStreamTest +[ERROR] testTreeSet(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.164 s <<< ERROR! java.lang.ExceptionInInitializerError -Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e +Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 -[ERROR] testTreeMap(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.015 s <<< ERROR! +[ERROR] testTreeMap(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.018 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testNonFinalComplexClassArray(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.002 s <<< ERROR! +[ERROR] testNonFinalComplexClassArray(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testNonFinalComplexClassAliasedArray(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.003 s <<< ERROR! +[ERROR] testNonFinalComplexClassAliasedArray(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.006 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] [ERROR] testNonFinalComplexClassGraph(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testNonFinalComplexClassTree(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.004 s <<< ERROR! +[ERROR] testNonFinalComplexClassTree(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.007 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testNonSerializableObjectClass(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.014 s <<< ERROR! +[ERROR] testNonSerializableObjectClass(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.004 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testClassLoader(dynamic.copyobject.JavaStreamTest) Time elapsed: 0 s <<< ERROR! +[ERROR] testClassLoader(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.006 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] [ERROR] testSimulatedTimingGraph(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testSimulatedTimingTree(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.001 s <<< ERROR! +[ERROR] testSimulatedTimingTree(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.011 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testSimulatedTimingTree1(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.002 s <<< ERROR! +[ERROR] testSimulatedTimingTree1(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] [ERROR] testSimulatedTimingTree2(dynamic.copyobject.JavaStreamTest) Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testSimulatedTimingTree3(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.002 s <<< ERROR! +[ERROR] testSimulatedTimingTree3(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.004 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testSimulatedTimingTree4(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.003 s <<< ERROR! +[ERROR] testSimulatedTimingTree4(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.002 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[ERROR] testSimulatedTimingTree5(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.007 s <<< ERROR! +[ERROR] testSimulatedTimingTree5(dynamic.copyobject.JavaStreamTest) Time elapsed: 0.02 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.basic.reflection.FieldValueHelper -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] -[INFO] Running dynamic.copyobject.NewReflectTest +[INFO] Running dynamic.copyobject.NewReflectFallbackTest java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl at org.glassfish.pfl.dynamic.copyobject.impl.DefaultClassCopierFactories$1.getClassCopier(DefaultClassCopierFactories.java:93) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierFactoryPipelineImpl.getClassCopier(ClassCopierFactoryPipelineImpl.java:263) at org.glassfish.pfl.dynamic.copyobject.impl.ObjectCopierImpl.copy(ObjectCopierImpl.java:107) + at org.glassfish.pfl.dynamic.copyobject.impl.FallbackObjectCopierImpl.copy(FallbackObjectCopierImpl.java:61) at dynamic.copyobject.Client.copyObject(Client.java:119) at dynamic.copyobject.Client.copyObject(Client.java:110) at dynamic.copyobject.Client.conditionTimingTests(Client.java:1655) at dynamic.copyobject.Client.makeSuite(Client.java:216) - at dynamic.copyobject.NewReflectTest.suite(NewReflectTest.java:74) + at dynamic.copyobject.NewReflectFallbackTest.suite(NewReflectFallbackTest.java:66) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35) @@ -8671,7 +7991,7 @@ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) -Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @6c629d6e [in thread "main"] +Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @18e8568 [in thread "main"] at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) @@ -8690,15 +8010,14 @@ at org.glassfish.pfl.dynamic.copyobject.impl.DefaultClassCopierFactories$1.getClassCopier(DefaultClassCopierFactories.java:93) at org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierFactoryPipelineImpl.getClassCopier(ClassCopierFactoryPipelineImpl.java:263) at org.glassfish.pfl.dynamic.copyobject.impl.ObjectCopierImpl.copy(ObjectCopierImpl.java:107) - at org.glassfish.pfl.dynamic.copyobject.impl.FallbackObjectCopierImpl.copy(FallbackObjectCopierImpl.java:61) at dynamic.copyobject.Client.copyObject(Client.java:119) at dynamic.copyobject.Client.copyObject(Client.java:110) at dynamic.copyobject.Client.conditionTimingTests(Client.java:1655) at dynamic.copyobject.Client.makeSuite(Client.java:216) - at dynamic.copyobject.NewReflectFallbackTest.suite(NewReflectFallbackTest.java:66) + at dynamic.copyobject.NewReflectTest.suite(NewReflectTest.java:74) ... 19 more -[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.019 s <<< FAILURE! - in dynamic.copyobject.NewReflectTest -[ERROR] initializationError(dynamic.copyobject.NewReflectTest) Time elapsed: 0 s <<< ERROR! +[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.019 s <<< FAILURE! - in dynamic.copyobject.NewReflectFallbackTest +[ERROR] initializationError(dynamic.copyobject.NewReflectFallbackTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "junit.framework.Test.getClass()" because "test" is null [INFO] @@ -8732,19 +8051,19 @@ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Primitive Function Library (PFL) 4.0.1-b003: [INFO] -[INFO] Primitive Function Library (PFL) ................... SUCCESS [ 0.006 s] -[INFO] PFL Basic .......................................... SUCCESS [ 37.404 s] -[INFO] PFL Basic Tools .................................... SUCCESS [ 0.152 s] -[INFO] PFL ASM ............................................ SUCCESS [ 0.061 s] -[INFO] PFL Dynamic ........................................ SUCCESS [ 33.551 s] -[INFO] PFL TF ............................................. SUCCESS [ 36.183 s] -[INFO] PFL TF TOOLS ....................................... SUCCESS [ 1.365 s] -[INFO] PFL Test ........................................... SUCCESS [ 36.702 s] +[INFO] Primitive Function Library (PFL) ................... SUCCESS [ 0.005 s] +[INFO] PFL Basic .......................................... SUCCESS [ 37.390 s] +[INFO] PFL Basic Tools .................................... SUCCESS [ 0.105 s] +[INFO] PFL ASM ............................................ SUCCESS [ 0.093 s] +[INFO] PFL Dynamic ........................................ SUCCESS [ 34.959 s] +[INFO] PFL TF ............................................. SUCCESS [ 37.462 s] +[INFO] PFL TF TOOLS ....................................... SUCCESS [ 0.119 s] +[INFO] PFL Test ........................................... SUCCESS [ 42.526 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ -[INFO] Total time: 02:27 min -[INFO] Finished at: 2025-09-10T15:01:27Z +[INFO] Total time: 02:35 min +[INFO] Finished at: 2026-10-13T21:32:28Z [INFO] ------------------------------------------------------------------------ create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=maven @@ -8871,19 +8190,19 @@ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Primitive Function Library (PFL) 4.0.1-b003: [INFO] -[INFO] Primitive Function Library (PFL) ................... SUCCESS [ 0.440 s] -[INFO] PFL Basic .......................................... SUCCESS [ 0.352 s] -[INFO] PFL Basic Tools .................................... SUCCESS [ 0.024 s] -[INFO] PFL ASM ............................................ SUCCESS [ 0.021 s] -[INFO] PFL Dynamic ........................................ SUCCESS [ 0.022 s] -[INFO] PFL TF ............................................. SUCCESS [ 0.060 s] -[INFO] PFL TF TOOLS ....................................... SUCCESS [ 0.022 s] -[INFO] PFL Test ........................................... SUCCESS [ 0.022 s] +[INFO] Primitive Function Library (PFL) ................... SUCCESS [ 0.647 s] +[INFO] PFL Basic .......................................... SUCCESS [ 0.650 s] +[INFO] PFL Basic Tools .................................... SUCCESS [ 0.092 s] +[INFO] PFL ASM ............................................ SUCCESS [ 0.095 s] +[INFO] PFL Dynamic ........................................ SUCCESS [ 0.087 s] +[INFO] PFL TF ............................................. SUCCESS [ 0.091 s] +[INFO] PFL TF TOOLS ....................................... SUCCESS [ 0.132 s] +[INFO] PFL Test ........................................... SUCCESS [ 0.073 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ -[INFO] Total time: 1.785 s -[INFO] Finished at: 2025-09-10T15:01:31Z +[INFO] Total time: 4.117 s +[INFO] Finished at: 2026-10-13T21:32:35Z [INFO] ------------------------------------------------------------------------ mh_resolve_dependencies --non-interactive --offline --build -plibgmbal-pfl-java --base-directory=/build/reproducible-path/gmbal-pfl-4.0.1-b003 --non-explore Analysing pom.xml... @@ -8924,12 +8243,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2478446/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3082081 and its subdirectories -I: Current time: Wed Sep 10 03:01:41 -12 2025 -I: pbuilder-time-stamp: 1757516501 +I: removing directory /srv/workspace/pbuilder/2478446 and its subdirectories +I: Current time: Wed Oct 14 11:32:53 +14 2026 +I: pbuilder-time-stamp: 1791927173