Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 264658

Summary: in OSX version, CJK named Test class can not launch at eclipse JUnit launcher
Product: [Eclipse Project] JDT Reporter: jisung, ahn <narusas>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.4.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug

Description jisung, ahn CLA 2009-02-12 05:57:01 EST
Build ID: M20080911-1700

Steps To Reproduce:
1. Create CJK Named test class.(In my case, Korean)

package net.narusas.si.auction.fetchers;

import junit.framework.TestCase;

public class ±âÀÏÀÔÂû¸ñ·ÏFetcherTest extends TestCase {
	public void testConnect() {

	}
}


2. launch JUnit 

3.Test failed.
Class not found net.narusas.si.auction.fetchers.¡¾???????¢¬?¡¤?FetcherT
java.lang.ClassNotFoundException: net.narusas.si.auction.fetchers.¡¾???????¢¬?¡¤?FetcherT
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:425)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)





More information:
My system is MacBook and Leopard.  
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)


Same test is pass with Windows.

I think there is some file name string length problem or file nane encoding problem between  eclipse and osx.
Comment 1 Olivier Thomann CLA 2009-02-12 09:29:49 EST
Move to JDT/Debug
Comment 2 Eclipse Genie CLA 2019-10-01 18:40:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.