Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI problems with obfuscated byte code on jdk 1.4



Timothy Wall wrote:

>This looks like the obfuscator has moved one of your classes but not the
>resources (i.e. images) that were included in the same package.

If that were the cause, I'd expect:
  A) It should fail in all obfuscated cases, not just when run on 1.4.
  B) It should fail for all images, not just intermittently.

The simplest trial I can think of to try, which might have interesting
results, is to run the obfuscated code under 1.4 on the Core Duo Mini.
That should take nothing more than a little reconfiguration of the
JavaVersion key in Info.plist (set to 1.4*), or the full pathname of the
1.4 'java' command in Terminal.

The Mac Mini may or may not have the same 1.4 version as the G4, but it
certainly has a different CPU architecture, and that might shake something
out.  Or it might show the same problem as on the G4, which would then
point to a 1.4 bug, or a user-code bug that tickles a 1.4 "issue" (a
disputable bug).

All the other interesting trials I can think of require more work.  Either
updating the G4's OS and JRE, or redoing the obfuscated output, or using a
different obfuscator (we still don't know what produced the output), and so
on.


>The NPE on the EDT is likely what's causing your failed repaints.

I agree.  There should be multiple stack traces in the console log.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.