Posted October 14, 201312 yr Hello guys, I'm trying to recompile the StarWars mod, but I get 78 warning about deprecated methods (just skipped them) and 4 errors which stop the process. The errors are all the same type: D:\MC modding\mod_starwars\1.x.x\SW 1.1.3 - Forge 9.11.0 - Minecraft 1.6.4\forge\mcp\src\minecraft\cpw\mods\fml\common\ObfuscationReflectionHelper.java:36: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ReflectionHelper.getPrivateValue(classToAccess, instance, fieldIndex); ^ D:\MC modding\mod_starwars\1.x.x\SW 1.1.3 - Forge 9.11.0 - Minecraft 1.6.4\forge\mcp\src\minecraft\cpw\mods\fml\common\ObfuscationReflectionHelper.java:61: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ReflectionHelper.getPrivateValue(classToAccess, instance, remapFieldNames(classToAccess.getName(),fieldNames)); ^ D:\MC modding\mod_starwars\1.x.x\SW 1.1.3 - Forge 9.11.0 - Minecraft 1.6.4\forge\mcp\src\minecraft\net\minecraft\src\ModLoader.java:482: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ObfuscationReflectionHelper.getPrivateValue(instanceclass, instance, fieldindex); ^ D:\MC modding\mod_starwars\1.x.x\SW 1.1.3 - Forge 9.11.0 - Minecraft 1.6.4\forge\mcp\src\minecraft\net\minecraft\src\ModLoader.java:496: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object return ObfuscationReflectionHelper.getPrivateValue(instanceclass, instance, field); ^ 2 errors come from my code (I did some reflections to get some private MC fields but they should work), but the other 2 come from Forge stuff! What should I do? I have already installed forge for 1.6.4 twice Thanks you a lot guys, Axel
October 14, 201312 yr If I remember correctly, this is a JDK bug, if you're using 1.6_21. Update your JDK. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.