Jump to content

Recommended Posts

Posted

Forge Version: minecraftforge-src-1.6.2-9.10.0.789

Eclipse Version: Kepler Release (Build id: 20130614-0229)

JDK Version: jdk1.7.0_09

 

Okay, so I followed the tutorial on the wiki, and when I open my workspace it has the following 8 warnings:

  • Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment.
  • Dead code
  • Resource leak: '<unassigned Closeable value>' is never closed
  • Resource leak: 'jar' is never closed
  • Resource leak: 'mcJarFile' is never closed
  • The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method translateToLocalFormatted(String, Object...) from type StatCollector. It could alternatively be cast to Object for a varargs invocation
  • The assignment to variable par2 has no effect
  • Unreachable catch block for IOException. Only more specific exceptions are thrown and they are handled by previous catch block(s).

 

I have not done anything to any files yet, this is off a clean install. Should I worry about these warnings, or not? Thank You.

Posted

Code doesn't always decompile cleanly and Minecraft isn't the best written.

 

You can ignore these,

errors would be from a bad decompile and you need to do it again,

 

Most warnings are pre-ignored with filters, by disabling them a clean minecraft decomple has about 3500 warnings

Posted

Code doesn't always decompile cleanly and Minecraft isn't the best written.

 

You can ignore these,

errors would be from a bad decompile and you need to do it again,

 

Most warnings are pre-ignored with filters, by disabling them a clean minecraft decomple has about 3500 warnings

Okay, just wondering, thanks!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.