This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot run project containing national chars | ||
---|---|---|---|
Product: | platform | Reporter: | Jaromir Uhrik <juhrik> |
Component: | JDK Problems | Assignee: | Jaromir Uhrik <juhrik> |
Status: | CLOSED WONTFIX | ||
Severity: | normal | CC: | mmirilovic, tzezula |
Priority: | P2 | Keywords: | I18N |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Screenshot attached... |
It's JDK bug in Runtime.exec() on Windows. On Linux works fine. Works fine on JDK 1.6 (1.6.0_24) It's not problem of Runtime.exec but the problem in the java launcher. When Runtime.exec start JDK 1.6 VM it works fine. Also running following from cmd line works fine: "C:\Program Files\Java\jdk1.6.0_24\bin\java.exe" -cp build\classes xxššaa.Xxššaa while running the samw with JDK 7.0 does not I will create a JDK bug Sorry Jardo. I haven't found a suitable category for java launcher in http://bugreport.sun.com/bugreport. Can you submit the bug yourself, anyway you have found it? ;-) The summary is: The problem happens on Windows with JDK 1.7. On JDK 1.6 u 24 it works fine. The problem is that the launcher corrupts national characters. Way to reproduce from cmd line: 1) Create a class xxššaa.Xxššaa in your project and build the project. 2) In the cmd line run: java.exe -cp build\classes xxššaa.Xxššaa when the java is JDK 1.6 it works fine and class is executed when it's JDK 1.7 it crashes. I filed an issue number 7025874 against JDK. can we close it once we have JDK bug entered? Must be fixed on JDK side. Bug #7025874 has been closed as a duplicate of #7026184, for which a fix has been committed to the JDK7/tl repository: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/90f84ecff75c verified in Product Version: NetBeans IDE 7.0.1 Dev (Build 201106072116) Java: 1.7.0-ea; Java HotSpot(TM) 64-Bit Server VM 21.0-b15 |
Created attachment 106402 [details] Screenshot attached... Product Version: NetBeans IDE Dev (Build 201102240001) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b02 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb) This is reproducible only on JDK7 (on JDK6u23 works fine). Steps to reproduce: -create new j2se project with name containing some e.g. czech character or just create a java class with name containing such a character. -->> It is not possible to run the project or class containing national chars