Shanedell opened a new issue, #386:
URL: https://github.com/apache/daffodil-vscode/issues/386

   I am working on a PR for getting the daffodil-debugger to run in CI for 
tests. I am able to do it fine locally using macos with java 11.0.17+8. 
However, using this same version in CI fails for macos, but not the others for 
some reason. I added some debug statements to the CI for macos and it prints 
this out
   
   ```java
   Error: A JNI error has occurred, please check your installation and try again
   Error: Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/microsoft/java/debug/core/protocol
   /Messages$Request has been compiled by a more recent version of the Java 
Runtime (class file version 55.0), this
   version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
        at java.lang.Class.getMethod0(Class.java:3018)
        at java.lang.Class.getMethod(Class.java:1784)
        at 
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
   ```
   
   this makes it seem like it isn't using java 11 correct?
   
   @stevedlawrence @arosien @mbeckerle @tuxji 
   
   CI workflow being referred to can be found at: 
https://github.com/Shanedell/daffodil-vscode/actions/runs/3700068215


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to