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

Java 12: several internal classes have been removed #193

Open
cyrille-artho opened this issue Jun 7, 2019 · 4 comments
Open

Java 12: several internal classes have been removed #193

cyrille-artho opened this issue Jun 7, 2019 · 4 comments
Labels
java version Java version

Comments

@cyrille-artho
Copy link
Member

The following five classes no longer exist:

JavaLangInvokeAccess
JavaNetURLAccess
JavaObjectInputFilterAccess
JavaObjectInputStreamAccess
JavaUtilJarAccess

They were used as an "unofficial API" in the past. We will have to find replacements for the functionality that they provided.

@aditya-kapre-shrewsbury
Copy link

Is this solved ?

@cyrille-artho
Copy link
Member Author

cyrille-artho commented Oct 3, 2020 via email

@aditya-kapre-shrewsbury
Copy link

I am getting some error like this when trying to build using older java versions:

Executing command: java -jar /home/adi/UBUNTU-JPF/jpf-core/build/RunJPF.jar +shell.port=4242 /home/adi/UBUNTU-JPF/jpf-core/src/examples/HelloWorld.jpf gov.nasa.jpf.classfile.ClassFileException: illegal constpool tag at gov.nasa.jpf.classfile.ClassFile.error(ClassFile.java:168) at gov.nasa.jpf.classfile.ClassFile.parseCp(ClassFile.java:1009) at gov.nasa.jpf.classfile.ClassFile.parse(ClassFile.java:827) at gov.nasa.jpf.jvm.ClassInfo.<init>(ClassInfo.java:803) at gov.nasa.jpf.jvm.ClassInfo.loadClass(ClassInfo.java:1221) at gov.nasa.jpf.jvm.ClassInfo.getResolvedClassInfo(ClassInfo.java:1207) at gov.nasa.jpf.jvm.ClassInfo.loadInterfaceRec(ClassInfo.java:1994) at gov.nasa.jpf.jvm.ClassInfo.loadInterfaceRec(ClassInfo.java:2000) at gov.nasa.jpf.jvm.ClassInfo.getAllInterfaces(ClassInfo.java:2150) at gov.nasa.jpf.jvm.JVM.registerStartupClass(JVM.java:531) at gov.nasa.jpf.jvm.JVM.registerStartupClasses(JVM.java:510) at gov.nasa.jpf.jvm.JVM.initialize(JVM.java:301)

@cyrille-artho
Copy link
Member Author

cyrille-artho commented Oct 5, 2020 via email

@quadhier quadhier added the java version Java version label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java version Java version
Projects
None yet
Development

No branches or pull requests

3 participants