JDK 1.8EA NApplet works

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JDK 1.8EA NApplet works

jmaasing
Just for fun I installed early access of JDK 1.8 on my Mac (OSX 10.8) and what little testing I've done so far looks good :-)

There are some messages about "Missing Codebase manifest" but everything works. I even get the same messages when trying Oracle applets.

If I get the time I'll try to run the test suite.

---
Java Plug-in 11.0.2.99
Using JRE version 1.8.0-ea-b99 Java HotSpot(TM) 64-Bit Server VM

Missing Codebase manifest attribute for: https://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar
Missing Codebase manifest attribute for: https://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar
class com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2 has no 'window' field
class com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2 has no 'glWindow' field
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.init ...
GearsES2 init on Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup]
Chosen GLCapabilities: GLCaps[rgba 8/8/8/8, trans-rgba 0x0/0/0/0, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2ES2/GL3.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  1
GL Profile     GLProfile[GL2ES2/GL3.hw]
GL Version     3.2 (Core profile, arb, FBO, hardware) - 3.2 ATI-1.8.18 [GL 3.2.0, vendor 1.8.18 (ATI-1.8.18)]
Quirks         [NoOffscreenBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      ATI Technologies Inc.
GL_RENDERER    AMD Radeon HD 6770M OpenGL Engine
GL_VERSION     3.2 ATI-1.8.18
GLSL           true, has-compiler-func: true, version: 1.50 / 1.50.0
GL FBO: basic true, full true
GL_EXTENSIONS  18
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@7384ced8
gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@2b8b5dbd
gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@2e5224d3
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.init FIN
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.reshape 0/0 200x200, swapInterval 1, drawable 0x7f9aad43a4b0
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.display 200x200, swapInterval 1, drawable 0x7f9aad43a4b0
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.reshape 0/0 200x200, swapInterval 1, drawable 0x7f9aad43a4b0
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.display 200x200, swapInterval 1, drawable 0x7f9aad43a4b0
4 s: 300 f / 4986 ms, 60.1 fps, 16 ms/f; total: 300 f, 60.1 fps, 16 ms/f
9 s: 300 f / 5004 ms, 59.9 fps, 16 ms/f; total: 600 f, 60.0 fps, 16 ms/f
14 s: 300 f / 5004 ms, 59.9 fps, 16 ms/f; total: 900 f, 60.0 fps, 16 ms/f
19 s: 300 f / 5005 ms, 59.9 fps, 16 ms/f; total: 1200 f, 60.0 fps, 16 ms/f
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.dispose ...
Thread[thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-3-Display-.macosx_nil-1-EDT-1,4,https://jogamp.org/deployment/jogamp-current/-threadGroup] GearsES2.dispose FIN
Reply | Threaded
Open this post in threaded view
|

Re: JDK 1.8EA NApplet works

gouessej
Administrator
Since Java 1.7 update 25, it is highly recommended to fill the "Permissions" and "Codebase" manifest attributes.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JDK 1.8EA NApplet works

jmaasing
I'm sorry, I left out that these are the JOGL demo applets, e.g. http://jogamp.org/deployment/jogamp-current/jogl-applet-version-napplet.html
Still, fun that it works on OSX and JDK 1.8 (the switch from 1.6 to 1.7 wasn't the smoothest for mac users)