Projects
openEuler:24.03:SP1:Everything
reflectasm
_service:tar_scm:fix-compilation-fails.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-compilation-fails.patch of Package reflectasm
From e3a88f6362f45476a5530b90a6b06635ca657ef1 Mon Sep 17 00:00:00 2001 From: NathanSweet <nathan.sweet@gmail.com> Date: Sat, 11 Jan 2020 19:24:20 +0100 Subject: [PATCH] Generate 1.6 classes (previously 1.1). --- src/com/esotericsoftware/reflectasm/ConstructorAccess.java | 2 +- src/com/esotericsoftware/reflectasm/FieldAccess.java | 2 +- src/com/esotericsoftware/reflectasm/MethodAccess.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/esotericsoftware/reflectasm/ConstructorAccess.java b/src/com/esotericsoftware/reflectasm/ConstructorAccess.java index 8cda997..9d5edbf 100644 --- a/src/com/esotericsoftware/reflectasm/ConstructorAccess.java +++ b/src/com/esotericsoftware/reflectasm/ConstructorAccess.java @@ -89,7 +89,7 @@ abstract public class ConstructorAccess<T> { : "com/esotericsoftware/reflectasm/ConstructorAccess"; ClassWriter cw = new ClassWriter(0); - cw.visit(V1_1, ACC_PUBLIC + ACC_SUPER, accessClassNameInternal, null, superclassNameInternal, null); + cw.visit(V1_6, ACC_PUBLIC + ACC_SUPER, accessClassNameInternal, null, superclassNameInternal, null); insertConstructor(cw, superclassNameInternal); insertNewInstance(cw, classNameInternal); diff --git a/src/com/esotericsoftware/reflectasm/FieldAccess.java b/src/com/esotericsoftware/reflectasm/FieldAccess.java index acc9ce6..e6c3953 100644 --- a/src/com/esotericsoftware/reflectasm/FieldAccess.java +++ b/src/com/esotericsoftware/reflectasm/FieldAccess.java @@ -147,7 +147,7 @@ public abstract class FieldAccess { String classNameInternal = className.replace('.', '/'); ClassWriter cw = new ClassWriter(0); - cw.visit(V1_1, ACC_PUBLIC + ACC_SUPER, accessClassNameInternal, null, "com/esotericsoftware/reflectasm/FieldAccess", + cw.visit(V1_6, ACC_PUBLIC + ACC_SUPER, accessClassNameInternal, null, "com/esotericsoftware/reflectasm/FieldAccess", null); insertConstructor(cw); insertGetObject(cw, classNameInternal, fields); diff --git a/src/com/esotericsoftware/reflectasm/MethodAccess.java b/src/com/esotericsoftware/reflectasm/MethodAccess.java index bd6456f..18a18b3 100644 --- a/src/com/esotericsoftware/reflectasm/MethodAccess.java +++ b/src/com/esotericsoftware/reflectasm/MethodAccess.java @@ -120,7 +120,7 @@ public abstract class MethodAccess { ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS); MethodVisitor mv; - cw.visit(V1_1, ACC_PUBLIC + ACC_SUPER, accessClassNameInternal, null, "com/esotericsoftware/reflectasm/MethodAccess", + cw.visit(V1_6, ACC_PUBLIC + ACC_SUPER, accessClassNameInternal, null, "com/esotericsoftware/reflectasm/MethodAccess", null); { mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); -- 2.30.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2