-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
zyuiop@aperture ~ $ uname -a Linux aperture 4.6.1-2-ARCH #1 SMP PREEMPT Thu Jun 2 15:46:17 CEST 2016 x86_64 GNU/Linux zyuiop@aperture ~ $ java -version java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode) zyuiop@aperture ~ $ javac -version javac 1.8.0_92 zyuiop@aperture ~ $ mvn -v Apache Maven 3.3.9 (NON-CANONICAL_2015-11-23T13:17:27+03:00_root; 2015-11-23T11:17:27+01:00) Maven home: /opt/maven Java version: 1.8.0_92, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-jdk/jre Default locale: fr_FR, platform encoding: UTF-8 OS name: "linux", version: "4.6.1-2-arch", arch: "amd64", family: "unix"
zyuiop@aperture ~ $ uname -a Linux aperture 4.6.1-2-ARCH #1 SMP PREEMPT Thu Jun 2 15:46:17 CEST 2016 x86_64 GNU/Linux zyuiop@aperture ~ $ java -version java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode) zyuiop@aperture ~ $ javac -version javac 1.8.0_92 zyuiop@aperture ~ $ mvn -v Apache Maven 3.3.9 (NON-CANONICAL_2015-11-23T13:17:27+03:00_root; 2015-11-23T11:17:27+01:00) Maven home: /opt/maven Java version: 1.8.0_92, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-jdk/jre Default locale: fr_FR, platform encoding: UTF-8 OS name: "linux" , version: "4.6.1-2-arch" , arch: "amd64" , family: "unix"
Related to SPIGOT-2352
I can't compile any source code importing and/or using PacketPlayOutPlayerInfo.PlayerInfoData.
Simple test code : http://i.zyuiop.net/yDREQZMw.png
Error generated :
Error:(1, 61) java: cannot access net.minecraft.server.v1_10_R1.PacketPlayOutPlayerInfo.PlayerInfoData bad class file: /home/zyuiop/.m2/repository/fr/epicube/spigot/1.10-R0.1-SNAPSHOT/spigot-1.10-R0.1-SNAPSHOT.jar(net/minecraft/server/v1_10_R1/PacketPlayOutPlayerInfo$PlayerInfoData.class) bad RuntimeInvisibleParameterAnnotations attribute: PlayerInfoData(com.mojang.authlib.GameProfile,int,net.minecraft.server.v1_10_R1.EnumGamemode,net.minecraft.server.v1_10_R1.IChatBaseComponent) Please remove or make sure it appears in the correct subdirectory of the classpath.