Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macos-x64] All tests crash on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" #62

Open
dmitrykolesnikovich opened this issue Mar 5, 2023 · 1 comment

Comments

@dmitrykolesnikovich
Copy link

dmitrykolesnikovich@macbook lwjgl3-awt % mvnw compile exec:java -Dexec.mainClass="org.lwjgl.opengl.awt.Core32Test" -Dexec.classpathScope=test
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< org.lwjglx:lwjgl3-awt >------------------------
[INFO] Building LWJGLX/lwjgl3-awt 0.2.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-resources) @ lwjgl3-awt ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ lwjgl3-awt ---
[INFO] Executing: /bin/sh -c cd '/Users/dmitrykolesnikovich/workspace/lwjgl3-awt' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /Users/dmitrykolesnikovich/workspace/lwjgl3-awt
[INFO] Storing buildNumber: bc8daf521a03979ed53302398128c281b7541e08 at timestamp: 1678049359356
[INFO] Storing buildScmBranch: main
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ lwjgl3-awt ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /Users/dmitrykolesnikovich/workspace/lwjgl3-awt/res
[INFO] skip non existing resourceDirectory /Users/dmitrykolesnikovich/workspace/lwjgl3-awt/native/macosx
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lwjgl3-awt ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- exec-maven-plugin:3.0.0:java (default-cli) @ lwjgl3-awt ---
[WARNING]
java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
    at org.lwjgl.opengl.awt.PlatformMacOSXGLCanvas.create (PlatformMacOSXGLCanvas.java:197)
    at org.lwjgl.opengl.awt.AWTGLCanvas.beforeRender (AWTGLCanvas.java:79)
    at org.lwjgl.opengl.awt.AWTGLCanvas.render (AWTGLCanvas.java:120)
    at org.lwjgl.opengl.awt.Core32Test$2.run (Core32Test.java:87)
    at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl (EventQueue.java:758)
    at java.awt.EventQueue.access$500 (EventQueue.java:97)
    at java.awt.EventQueue$3.run (EventQueue.java:709)
    at java.awt.EventQueue$3.run (EventQueue.java:703)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege (ProtectionDomain.java:74)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run (EventDispatchThread.java:82)
@dmitrykolesnikovich
Copy link
Author

image

@dmitrykolesnikovich dmitrykolesnikovich changed the title All tests crashes on JDK 8 / MacOS with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" [MacOS] All tests crashes on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" Mar 5, 2023
@dmitrykolesnikovich dmitrykolesnikovich changed the title [MacOS] All tests crashes on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" [MacOS / Intel Core i5 x64] All tests crashes on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" Mar 5, 2023
@dmitrykolesnikovich dmitrykolesnikovich changed the title [MacOS / Intel Core i5 x64] All tests crashes on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" [macos-x64] All tests crashes on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" Mar 6, 2023
@dmitrykolesnikovich dmitrykolesnikovich changed the title [macos-x64] All tests crashes on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" [macos-x64] All tests crash on JDK 8 with "java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;" Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant