From b19df4e4308d4b2b1d7cd6eedf8989e96f22c12d Mon Sep 17 00:00:00 2001 From: khanhduytran0 Date: Sun, 9 Aug 2020 20:03:24 +0700 Subject: [PATCH] Another fix CI build error --- app/src/main/java/javax/imageio/ImageIO.java | 1 - app/src/main/java/net/kdt/pojavlaunch/MainActivity.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/javax/imageio/ImageIO.java b/app/src/main/java/javax/imageio/ImageIO.java index 3ec5ba156c..dbcad89f54 100644 --- a/app/src/main/java/javax/imageio/ImageIO.java +++ b/app/src/main/java/javax/imageio/ImageIO.java @@ -37,7 +37,6 @@ import java.awt.image.*; import javax.imageio.stream.*; import java.io.*; -import libcore.net.url.*; import java.lang.reflect.*; import java.util.jar.*; import java.util.zip.*; diff --git a/app/src/main/java/net/kdt/pojavlaunch/MainActivity.java b/app/src/main/java/net/kdt/pojavlaunch/MainActivity.java index 7935d61b8b..8d478d98e5 100644 --- a/app/src/main/java/net/kdt/pojavlaunch/MainActivity.java +++ b/app/src/main/java/net/kdt/pojavlaunch/MainActivity.java @@ -697,7 +697,7 @@ public void onSurfaceCreated(GL10 gl, javax.microedition.khronos.egl.EGLConfig p try { Field eglContextField = eglContextImpl.getClass().getDeclaredField("mEGLContext"); eglContextField.setAccessible(true); - eglContext = eglContextField.get(eglContextImpl); + eglContext = (long) eglContextField.get(eglContextImpl); } catch (Throwable th) { Tools.showError(MainActivity.this, th, true); }