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: Java-dev Digest, Vol 5, Issue 316




-----Original Message-----
From: email@hidden
Sent: Tuesday, August 26, 2008 9:07 PM
To: email@hidden
Subject: Java-dev Digest, Vol 5, Issue 316

Send Java-dev mailing list submissions to
	email@hidden

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.apple.com/mailman/listinfo/java-dev
or, via email, send a message with subject or body 'help' to
	email@hidden

You can reach the person managing the list at
	email@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Java-dev digest..."


Today's Topics:

   1. Re: Java for Mac OS X 10.5, Update 2 (Robert Koberg)
   2. Re: Java for Mac OS X 10.5, Update 2 (Tracy Snell)
   3. Re: translating a build script for JNI for linux to JNI for
      OS X (Mikael Hakman)
   4. Re: translating a build script for JNI for linux to JNI for
      OS X (Stephyn Butcher)
   5. Re: Java for Mac OS X 10.5, Update 2 (Matt Drance)
   6. Re: Java for Mac OS X 10.5, Update 2 (Marcelo Ohashi)
   7. Re: Java for Mac OS X 10.5, Update 2 (Paul Taylor)
   8. Re: Java for Mac OS X 10.5, Update 2 (Mike Swingler)
   9. Honoring Java Preferences (Javier Diaz Soto)
  10. Re: Honoring Java Preferences (Pratik Solanki)
  11. Re: Java for Mac OS X 10.5, Update 2 (Pratik Solanki)
  12. Re: Java for Mac OS X 10.5, Update 2 (Paul Taylor)
  13. Im starting to despise java programming for the mac
      (Adam Ornstein)
  14. Re: Java for Mac OS X 10.5, Update 2 (Mike Swingler)
  15. Re: Java for Mac OS X 10.5, Update 2 (Galen Rhodes)
  16. Re: Java for Mac OS X 10.5, Update 2 (Mike Swingler)
  17. Java portability? (Hasan Edain)


----------------------------------------------------------------------

Message: 1
Date: Mon, 25 Aug 2008 20:31:51 -0400
From: Robert Koberg <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Mike Swingler <email@hidden>
Cc: Java-dev list <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="windows-1252"


On Aug 25, 2008, at 8:10 PM, Mike Swingler wrote:

> On Aug 25, 2008, at 4:49 PM, Robert Koberg wrote:
>
>> On Aug 25, 2008, at 7:10 PM, Matt Drance wrote:
>>
>>> Hello Java developers,
>>>
>>> A developer preview of Java for Mac OS X 10.5, Update 2 is now  
>>> available at http://connect.apple.com.  The standard ADC terms and  
>>> conditions apply, as does the recommendation to test this update  
>>> on non-critical systems.
>>>
>>> In particular, we would appreciate your feedback on the following  
>>> areas:
>>>
>>> • Drag-and-drop of files with names in various encodings
>>> • Printing with javax.print and AWT printing APIs
>>> • Launching WebStart applications that specify various Java  
>>> platform versions
>>> • Changing the preferred version of Java in Java Preferences
>>
>> What is the expected behavior when changing the preferred version  
>> of java regarding an app launched from a shell (I switched mine to  
>> bash)?
>>
>> For example, if you switch it to 1.6 and your shell reports you are  
>> using 1.6, do you still need to export JAVA_HOME to the 1.6 home  
>> directory (or set it in the /etc/bashrc)?
>>
>> Alternatively, should you be able to export JAVA_HOME set to 1.6 in  
>> your /etc/bashrc, restart your shell and have it use 1.6?
>>
>> Apologies if this is old news, but I can't find the information.
>
> Yes, $JAVA_HOME is not set for you automatically. Would a tool like  
> a '/usr/libexec/java_home' to simply print the full path to the user- 
> preferred $JAVA_HOME be useful? Perhaps a .bashrc could check for  
> it's existence, and set $JAVA_HOME to whatever it's output is...?
>
> What do you think?


The /etc/bashrc, /etc/environment or a user's .profile would do it for  
me (I would also like to be able to set it with a bash startup  
script). Mostly I would like something that is documented clearly and  
easily findable.

If it was an /etc/environment I would think the java preference tool  
could read that on boot and set it to what was defined there. But  
really, I haven't used a mac for about 4 or 5 years (and only for  
about 24 hours now) so I am sure you guys know what is best.

best,
-Rob





> Mike Swingler
> Java Runtime Engineer
> Apple Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/java-dev/attachments/20080825/e547da2d/attachment.html

------------------------------

Message: 2
Date: Mon, 25 Aug 2008 20:38:54 -0400
From: Tracy Snell <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Mike Swingler <email@hidden>
Cc: Java-dev list <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


Last time I tried setting $JAVA_HOME to /usr worked fine. It's been a  
while but back then it was durable across version changes.


On Aug 25, 2008, at 8:10 PM, Mike Swingler wrote:

> Yes, $JAVA_HOME is not set for you automatically. Would a tool like  
> a '/usr/libexec/java_home' to simply print the full path to the user- 
> preferred $JAVA_HOME be useful? Perhaps a .bashrc could check for  
> it's existence, and set $JAVA_HOME to whatever it's output is...?
>



------------------------------

Message: 3
Date: Tue, 26 Aug 2008 02:43:58 +0200
From: "Mikael Hakman" <email@hidden>
Subject: Re: translating a build script for JNI for linux to JNI for
	OS X
To: "Stephyn Butcher" <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="iso-8859-1"

You also have to tell the linker that you are building a dynamic link library. I'm not at OS X right now and I don't remember the actual switch to use. If you wait until tomorrow I will send you the exact command line that my XCode JNILib projects use.

Regards/Mikael

On August 25, 2008 4:57 PM, Stephyn Butcher wrote:
  Dear all,


  Based on some suggestions by the authors of the source code and Mikael's comments, I made some changes to the C++ code (about which I know nothing) and the compile command:


  1) changed ".so" to ".jnilib" as required by OS X.
  2) removed "-s" due to compiler complaints.


  I'm now running the command:


  g++ -O3 -DNDEBUG -feliminate-unused-debug-symbols -fPIC -shared -o libjsmile.jnilib ../*.cpp -I$JINC -I../cppsmile -L../cppsmile -lsmilearn -lsmile


  and I get the following error:


  Undefined symbols:
    "_main", referenced from:
        start in crt1.10.5.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status


  I was able to google this error but not a solution (at least not a solution for me...one solution, on the Apple site, was to use the Fortran compiler).


  As I understand the issue, the compiler is complaining that there is no "main" method...but it's a library, there isn't a main method. How do I tell the compiler this? I would have thought "-shared" would have been sufficient.


  Thanks again.


  Cheers,
  Steve

  On Aug 24, 2008, at 7:35 AM, Mikael Hakman wrote:


    What happens if you execute that g++ command on OS X?


    Regards/Mikael


    On Aug 23, 2008, at 9:01 PM, Stephyn Butcher wrote:


      Dear all,


      I'm beside myself with confusion...which is not all that unusual.


      I'm trying to compile a JNI wrapper for a third party library. The source code for the JNI wrapper exists as does a build file but it's for linux. Additionally, the compiled binaries for the actual code exist for OS X.


      However, I cannot even begin to figure out how to make this work on OS X. I have the following command:


      echo compiling JNI wrapper
      g++ -O3 -DNDEBUG -feliminate-unused-debug-symbols -fpic -s -shared -o libjsmile.so ../*.cpp -I$JINC -I$JINC/linux -I../cppsmile -L../cppsmile -lsmilearn -lsmile


      and I don't know how to translate it into OS X speak.


      For the full code, the binaries and source are here:


      MacOS X (x86 & PPC): gcc 4.0  [3.87 MB]
      http://genie.sis.pitt.edu/download/smile_1_1_macosx_universal_gcc_4_0.tar.gz


      and the source for the JNI wrapper is here:


      Source Code  [59 kB]
      http://genie.sis.pitt.edu/download/jsmile_src.zip


      I put the binaries into the cppsmile directory of the jsmile_src.


      Any pointers would be helpful. I would suppose that most of the work has been done for me and I just need to figure out the incantation for g++ (ie, I don't need to put all of this stuff into an XCode JNI project). However, if that would be easier...that's great, too.


      I would also love to contribute the solution back to this project.


      Cheers,
      Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/java-dev/attachments/20080826/03d9d071/attachment.html

------------------------------

Message: 4
Date: Mon, 25 Aug 2008 20:52:02 -0400
From: Stephyn Butcher <email@hidden>
Subject: Re: translating a build script for JNI for linux to JNI for
	OS X
To: Bill Northcott <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Thanks...worked like a charm.

I didn't quite realize I had a Linux to Mac problem rather than a JNI  
problem...which does kind of make sense in retrospect. Meh, it's been  
a trying month with no end in sight.

Thanks again to both Mikael and Bill.

Cheers,
Steve

On Aug 25, 2008, at 8:25 PM, Bill Northcott wrote:

> On 25/08/2008, at 9:08 PM, Stephyn Butcher wrote:
>> However, I cannot even begin to figure out how to make this work on  
>> OS
>> X. I have the following command:
>>
>> echo compiling JNI wrapper
>> g++ -O3 -DNDEBUG -feliminate-unused-debug-symbols -fpic -s -shared -o
>> libjsmile.so ../*.cpp -I$JINC -I$JINC/linux -I../cppsmile -L../
>> cppsmile -lsmilearn -lsmile
>>
>> and I don't know how to translate it into OS X speak.
>
> As they say, RTFM, which in this case can be found at http://developer.apple.com/unix/ 
>  and particularly
> http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/intro/chapter_1_section_1.html
>
> Stuff you need to watch on that command line:
> -shared becomes -dynamiclib
> -fpic is redundant but should not cause a problem
> -o libjsmile.so needs to be -o libjsmile.jnilib   (normal shared  
> libraries are ,dylib)
>
> If you want multi-architecture binaries, you will need some -arch  
> options - say '-arch i386 -arch x86_64 -arch ppc'  you may also need  
> to point system root at an appropriate SDK.
>
> I$JINC -I$JINC/linux  - I would have thought that $JINC should be a  
> path to some header directory.
>
> There are also the excellent O'Reilly books "MacOS X ........ for  
> UNIX Geeks".  I don't know if the Leopard one is out yet.
>
> Cheers
> Bill Northcott



------------------------------

Message: 5
Date: Mon, 25 Aug 2008 17:55:16 -0700
From: Matt Drance <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Alex Rojkov <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"

Hi Alex,

> I have not been able to find src.jar anywhere on the install path.  
> Is the source available, if so where?

src.jar typically lives in /System/Library/Frameworks/JavaVM.framework/ 
Versions/<version>/Home, and is installed by the accompanying  
developer package, which is not included with this preview.  The goal  
of this preview is runtime testing.

Matt Drance . Sharing Technologies Evangelist . email@hidden
iphone 
.ichat 
.ical.ab.sync.mobileme.automation.java.dashboard.spotlight.quicklook

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/java-dev/attachments/20080825/84d9acb5/attachment.html

------------------------------

Message: 6
Date: Tue, 26 Aug 2008 12:10:09 -0300
From: "Marcelo Ohashi" <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: "Matt Drance" <email@hidden>
Cc: email@hidden
Message-ID:
	<email@hidden>
Content-Type: text/plain; charset=WINDOWS-1252

Hi,

 I have got problems with this update. Every Java applications are
crashing... Does someone know how could I uninstall this update to the
last stable version?

Thanks,

Marcelo Ohashi

On Mon, Aug 25, 2008 at 8:10 PM, Matt Drance <email@hidden> wrote:
> Hello Java developers,
> A developer preview of Java for Mac OS X 10.5, Update 2 is now available at
> http://connect.apple.com.  The standard ADC terms and conditions apply, as
> does the recommendation to test this update on non-critical systems.
> In particular, we would appreciate your feedback on the following areas:
> • Drag-and-drop of files with names in various encodings
> • Printing with javax.print and AWT printing APIs
> • Launching WebStart applications that specify various Java platform
> versions
> • Changing the preferred version of Java in Java Preferences
> Any and all issues should be reported at https://bugreport.apple.com.
>  Thanks!
> Matt Drance . Sharing Technologies Evangelist . email@hidden
> iphone.ichat.ical.ab.sync.mobileme.automation.java.dashboard.spotlight.quicklook
>  _______________________________________________
> 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
>



-- 
Marcelo Gomes Ohashi


------------------------------

Message: 7
Date: Tue, 26 Aug 2008 16:24:30 +0100
From: Paul Taylor <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Matt Drance <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed

Matt Drance wrote:
> Hello Java developers,
>
> A developer preview of Java for Mac OS X 10.5, Update 2 is now 
> available at http://connect.apple.com.  The standard ADC terms and 
> conditions apply, as does the recommendation to test this update on 
> non-critical systems.
>
> In particular, we would appreciate your feedback on the following areas:
>
> • Drag-and-drop of files with names in various encodings
> •
Matt

Does this fix the issue that prevents files being dragged from iTunes 
(dragging from Finder is ok) to a java application ?

Paul



------------------------------

Message: 8
Date: Tue, 26 Aug 2008 09:07:47 -0700
From: Mike Swingler <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Marcelo Ohashi <email@hidden>
Cc: Java-dev list <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
	delsp=yes

Unfortunately, the only way to revert is to do a full reinstall of the  
operating system.

If you reinstall your OS, and find this problem occurs again, please  
file a bug at http://bugreporter.apple.com with your machine  
configuration, and the steps you took from the point you did a clean  
re-install.

Apologies,
Mike Swingler
Java Runtime Engineer
Apple Inc.

On Aug 26, 2008, at 8:10 AM, Marcelo Ohashi wrote:

> Hi,
>
> I have got problems with this update. Every Java applications are
> crashing... Does someone know how could I uninstall this update to the
> last stable version?
>
> Thanks,
>
> Marcelo Ohashi
>
> On Mon, Aug 25, 2008 at 8:10 PM, Matt Drance <email@hidden>  
> wrote:
>> Hello Java developers,
>> A developer preview of Java for Mac OS X 10.5, Update 2 is now  
>> available at
>> http://connect.apple.com.  The standard ADC terms and conditions  
>> apply, as
>> does the recommendation to test this update on non-critical systems.
>> In particular, we would appreciate your feedback on the following  
>> areas:
>> • Drag-and-drop of files with names in various encodings
>> • Printing with javax.print and AWT printing APIs
>> • Launching WebStart applications that specify various Java platform
>> versions
>> • Changing the preferred version of Java in Java Preferences
>> Any and all issues should be reported at https://bugreport.apple.com.
>> Thanks!
>> Matt Drance . Sharing Technologies Evangelist . email@hidden
>> iphone 
>> .ichat 
>> .ical.ab.sync.mobileme.automation.java.dashboard.spotlight.quicklook
>> _______________________________________________
>> 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
>>
>
>
>
> -- 
> Marcelo Gomes Ohashi
> _______________________________________________
> 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



------------------------------

Message: 9
Date: Tue, 26 Aug 2008 21:23:22 +0200
From: Javier Diaz Soto <email@hidden>
Subject: Honoring Java Preferences
To: email@hidden
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed


Please, excuse me if this question is common knowledge.
I have a user that has Apple´s Java 6 (Leopard) selected as his  
preferred java. I have sent him a java app (launched by an sh script)  
that launches in Java 5. What is the right way (preferably compatible  
with other unixes) for the app to honor the user preference and  
launch the Java version the user has selected in Java Preferences?
He says most of his java apps launch in Java 6, but it took him some  
time to realize mine was running in Java 5 (to use 3GB he needed to  
put -d64 ...)

(I can give more details about the app if needed)

Thanks (I´m yet in Tiger, so I cannot easily experiment with this)

Javier




------------------------------

Message: 10
Date: Tue, 26 Aug 2008 12:43:40 -0700
From: Pratik Solanki <email@hidden>
Subject: Re: Honoring Java Preferences
To: Javier Diaz Soto <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes

On Aug 26, 2008, at 12:23 PM, Javier Diaz Soto wrote:

> I have a user that has Apple´s Java 6 (Leopard) selected as his  
> preferred java. I have sent him a java app (launched by an sh  
> script) that launches in Java 5. What is the right way (preferably  
> compatible with other unixes) for the app to honor the user  
> preference and launch the Java version the user has selected in Java  
> Preferences?

Well, if you launched /usr/bin/java, it will honour the user's pref in  
Java Preferences. Note that this only works on leopard. On Tiger, /usr/ 
bin/java will launch 1.5 (or 1.4 in case you haven't run Software  
update in a long long long time).

Pratik

------------------------------

Message: 11
Date: Tue, 26 Aug 2008 12:44:46 -0700
From: Pratik Solanki <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: email@hidden
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
	delsp=yes

On Aug 26, 2008, at 8:24 AM, Paul Taylor wrote:

> Matt Drance wrote:
>> Hello Java developers,
>>
>> A developer preview of Java for Mac OS X 10.5, Update 2 is now  
>> available at http://connect.apple.com.  The standard ADC terms and  
>> conditions apply, as does the recommendation to test this update on  
>> non-critical systems.
>>
>> In particular, we would appreciate your feedback on the following  
>> areas:
>>
>> • Drag-and-drop of files with names in various encodings
>> •
> Matt
>
> Does this fix the issue that prevents files being dragged from  
> iTunes (dragging from Finder is ok) to a java application ?

Did you file a bug about this before? Do you have a bug number handy?

Pratik

------------------------------

Message: 12
Date: Tue, 26 Aug 2008 23:12:34 +0100
From: Paul Taylor <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Pratik Solanki <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed

Pratik Solanki wrote:
> On Aug 26, 2008, at 8:24 AM, Paul Taylor wrote:
>
>> Matt Drance wrote:
>>> Hello Java developers,
>>>
>>> A developer preview of Java for Mac OS X 10.5, Update 2 is now 
>>> available at http://connect.apple.com.  The standard ADC terms and 
>>> conditions apply, as does the recommendation to test this update on 
>>> non-critical systems.
>>>
>>> In particular, we would appreciate your feedback on the following 
>>> areas:
>>>
>>> • Drag-and-drop of files with names in various encodings
>>> •
>> Matt
>>
>> Does this fix the issue that prevents files being dragged from iTunes 
>> (dragging from Finder is ok) to a java application ?
>
> Did you file a bug about this before? Do you have a bug number handy?
>
> Pratik
>
Yes I did file a bug 5762160 with code, (later the bug report asked for 
more detail, but then I got an email saying no more was needed because 
it was known bug)

Paul





------------------------------

Message: 13
Date: Tue, 26 Aug 2008 20:17:52 -0400
From: Adam Ornstein <email@hidden>
Subject: Im starting to despise java programming for the mac
To: <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="iso-8859-1"


hi!

I just felt that I should vent a little bit.

I developed an desktop application in java.  Initially for the pc , the idea was to create a macintosh version using the same (or similar code).  This was my first time that I was doing something like this, so I expected some minor issues to come up.

At first it was no big deal, some of my gui's had to be redesigned to fit the mac design scheme.  Also I had to do some very minor backtracking to java 1.4.12 - simply because I wanted to develop for the lowest grade mac that I could (with os 10.3.9 or higher).  THis involved some extremely minor touchups to code!

So far this is a fantastic experience, in a couple of days I was able to get the majority of my application running on the mac!  

Then it turned for the worse - I had a graphics2d item that appeared on the screen for a "preview" of what their program output would be.  This became one of 2 major headaches.  What i finally discovered, is that by setting the a non-default font for text I was printing out - I needed to adjust every piece of text that I had printed out to about half.  What I mean is that if I wanted to print text to coordintate space 10, 20.  I needed to write it out to space 5,10.  Why?!?!?!  It made no sense to me.  Default text writes out in the proper place, and when a font was set I needed to print out to half the space.  PLUS, at times ridiculous things would happen.  for instance I would print line 1 at 5,10. and the next line which should be printed out at 15,10 under the halving rule, I would have to print to 7.5,10!

UCH!  But I finally got that piece working.

Now the final output of the program takes the same information and writes it to an image double the size of the earlier image.  needless to say I am still struggling with it, as the output is always non-standardized.  for instance I cannot determine when to print out in the correct original pc location, or if I need to halve it, or if I need to adjust the font-metrics measurements to meet the new oddity of a (1/2 fontwidth) equalling a full font width.  Therefore never being able to properly and dependably center a line of text.

I want to throw my macintosh out the window.

Anyway, sorry for venting here, but its extrememly frustrating.

_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger.  Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/java-dev/attachments/20080826/e0d97d70/attachment.html

------------------------------

Message: 14
Date: Tue, 26 Aug 2008 17:22:03 -0700
From: Mike Swingler <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: email@hidden
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
	delsp=yes

On Aug 26, 2008, at 3:12 PM, Paul Taylor wrote:

> Pratik Solanki wrote:
>
>> On Aug 26, 2008, at 8:24 AM, Paul Taylor wrote:
>>
>>> Matt Drance wrote:
>>>
>>>> Hello Java developers,
>>>>
>>>> A developer preview of Java for Mac OS X 10.5, Update 2 is now  
>>>> available at http://connect.apple.com.  The standard ADC terms  
>>>> and conditions apply, as does the recommendation to test this  
>>>> update on non-critical systems.
>>>>
>>>> In particular, we would appreciate your feedback on the following  
>>>> areas:
>>>>
>>>> • Drag-and-drop of files with names in various encodings
>>>
>>> Does this fix the issue that prevents files being dragged from  
>>> iTunes (dragging from Finder is ok) to a java application ?
>>
>> Did you file a bug about this before? Do you have a bug number handy?
>
> Yes I did file a bug 5762160 with code, (later the bug report asked  
> for more detail, but then I got an email saying no more was needed  
> because it was known bug)

We are still holding your issue open, because the drag type coming  
from iTunes looks like it's something different than an ordinary file  
list. Dragging from iTunes to a Cocoa open file dialog didn't work  
either - only the Finder seems to know what the iTunes drag type is.

The drag-and-drop issues we believe we have addressed relate to  
ordinary file lists (like what come from the Finder, or dragging a  
document-proxy icon from a title bar), which had non-ASCII characters  
in their paths.

Hope this clarifies,
Mike Swingler
Java Runtime Engineer
Apple Inc.

------------------------------

Message: 15
Date: Tue, 26 Aug 2008 20:33:26 -0400
From: Galen Rhodes <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Mike Swingler <email@hidden>
Cc: "email@hidden Apple" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
	delsp=yes

Any idea when issue 5607632 will get addressed?

--
Galen Rhodes
email@hidden
http://www.photoyoda.com
http://www.myspace.com/woexpert




On Aug 26, 2008, at 8:22 PM, Mike Swingler wrote:

> On Aug 26, 2008, at 3:12 PM, Paul Taylor wrote:
>
>> Pratik Solanki wrote:
>>
>>> On Aug 26, 2008, at 8:24 AM, Paul Taylor wrote:
>>>
>>>> Matt Drance wrote:
>>>>
>>>>> Hello Java developers,
>>>>>
>>>>> A developer preview of Java for Mac OS X 10.5, Update 2 is now  
>>>>> available at http://connect.apple.com.  The standard ADC terms  
>>>>> and conditions apply, as does the recommendation to test this  
>>>>> update on non-critical systems.
>>>>>
>>>>> In particular, we would appreciate your feedback on the  
>>>>> following areas:
>>>>>
>>>>> • Drag-and-drop of files with names in various encodings
>>>>
>>>> Does this fix the issue that prevents files being dragged from  
>>>> iTunes (dragging from Finder is ok) to a java application ?
>>>
>>> Did you file a bug about this before? Do you have a bug number  
>>> handy?
>>
>> Yes I did file a bug 5762160 with code, (later the bug report asked  
>> for more detail, but then I got an email saying no more was needed  
>> because it was known bug)
>
> We are still holding your issue open, because the drag type coming  
> from iTunes looks like it's something different than an ordinary  
> file list. Dragging from iTunes to a Cocoa open file dialog didn't  
> work either - only the Finder seems to know what the iTunes drag  
> type is.
>
> The drag-and-drop issues we believe we have addressed relate to  
> ordinary file lists (like what come from the Finder, or dragging a  
> document-proxy icon from a title bar), which had non-ASCII  
> characters in their paths.
>
> Hope this clarifies,
> Mike Swingler
> Java Runtime Engineer
> Apple Inc. _______________________________________________
> 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



------------------------------

Message: 16
Date: Tue, 26 Aug 2008 17:48:43 -0700
From: Mike Swingler <email@hidden>
Subject: Re: Java for Mac OS X 10.5, Update 2
To: Galen Rhodes <email@hidden>
Cc: "email@hidden Apple" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Aug 26, 2008, at 5:33 PM, Galen Rhodes wrote:

> Any idea when issue 5607632 will get addressed?

You should be able to log into http://bugreporter.apple.com and find  
out the status of the bug you filed yourself.

If you test with the J2SE 5.0 in this developer preview of Java for  
Mac OS X 10.5, Update 2, I believe you should find that image  
performance for images obtained though ImageIO has gotten faster. If  
not, please add an update to the bug, along with the test case you  
used, and we'll reopen the issue.

Mike Swingler
Java Runtime Engineer
Apple Inc.


------------------------------

Message: 17
Date: Tue, 26 Aug 2008 18:05:36 -0700
From: Hasan Edain <email@hidden>
Subject: Java portability?
To: "email@hidden" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain;	charset=us-ascii;	format=flowed;	delsp=yes

Long time lurked steping out to ask a question.

My partner and I have spent nearly 5 years developing a framework to  
deliver sprite based 2d games in Java.

Along. The way we seem to have made a serious technology mistake. We  
moved to JDK 1.5 features (especially enums). Now we seem to be very  
limited in terms of where the games made in this platform can be  
deployed in terms of the Mac platform.

This is especially distressing in terms of comparing our ability to  
deliver on windows and Linux where we have reasonable strategies to  
deliver to OS's over a decade old.

Does anyone have sugestions that don't involve regressing our entire  
codebase to JDK 1.3?

Thanks in advace.

The framework is open source, and can be downloaded at:
Http://sourceforge.net/projects/sprite2d

Hasan Edain
Co-Founder NPC Unlimited.com
206-335-1143


------------------------------

_______________________________________________
Java-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/java-dev

End of Java-dev Digest, Vol 5, Issue 316
****************************************

 _______________________________________________
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.