Yura
Yura
with org.springframework:spring-core:5.3.14 a little class like this: ``` @RestController @PreAuthorize("hasAuthority('GLOBAL_ADMIN') or hasAuthority('MEMBER')") public class AccessControlTestController { @GetMapping("/v1/access_control_test") String test() { return "OK"; } } ``` seems to cause a nasty...
i have managed to get logging working correctly with: ``` ``` this is still happening intermittently, about every 3 times, but as soon as it starts happening, it happens always,...
in my app there are some libs that need "java.io.tmpdir" to be valid so i do this at startup: ``` NSArray tmpData = Foundation.NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.CachesDirectory, NSSearchPathDomainMask.UserDomainMask, true); String cachesDirectory = (String)tmpData.objectAtIndex(0);...
ive also found NSTemporaryDirectory https://developer.apple.com/documentation/foundation/1409211-nstemporarydirectory?language=objc String tmpDir = apple.foundation.c.Foundation.NSTemporaryDirectory() maybe that would be the correct thing to use
maybe this can be useful for fixing this issue: https://stackoverflow.com/a/49010634
i have found a workaround, if i add ``` org.apache.groovy groovy-jsr223 4.0.22 ``` and do ``` getEngineByName("groovy") ``` it actually runs the jshell script correctly but this basically means stopping...
sorry about my including the printout of the "output" variable, thats was just copied over from another example and you can ignore it the issue is the return statement, if...
Helidon 4.0.10 ``` java.lang.reflect.InaccessibleObjectException: Unable to make io.helidon.microprofile.testing.junit5.HelidonJunitExtension() accessible: module io.helidon.microprofile.testing.junit5 does not "opens io.helidon.microprofile.testing.junit5" to module org.junit.platform.commons 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) at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:194) at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:187) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)...
this error can easily been seen when you run the [EarlyStoppingMNIST](https://github.com/deeplearning4j/deeplearning4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/quickstart/features/earlystopping/EarlyStoppingMNIST.java) example you get the output ``` Termination reason: EpochTerminationCondition Termination details: ScoreImprovementEpochTerminationCondition(maxEpochsWithNoImprovement=8, minImprovement=0.0) Total epochs: 30 Best epoch number:...
i made a PR here: https://github.com/deeplearning4j/deeplearning4j/pull/10200/files