United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7130704 Few of the jtreg tests need to be ported for mac builds
7130704 : Few of the jtreg tests need to be ported for mac builds

Details
Type:
Bug
Submit Date:
2012-01-17
Status:
Closed
Updated Date:
2012-08-17
Project Name:
JDK
Resolved Date:
2012-04-16
Component:
tools
OS:
os_x
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4

Related Reports
Backport:

Sub Tasks

Description
With the latest run for mac b225, following jtreg tests failed with an error as 'Unrecognized system':

# tools/javac/4846262/Test.sh
# tools/javac/6302184/T6302184.sh
# tools/javac/ClassPathTest/ClassPathTest.sh
# tools/javac/ExtDirs/ExtDirs.sh
# tools/javac/MissingInclude.java
# tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh
# tools/javac/T5090006/T5090006.java
# tools/javac/constDebug/ConstDebug.java
# tools/javac/fatalErrors/NoJavaLang.java
# tools/javac/innerClassFile/Driver.sh
# tools/javac/javazip/Test.sh
# tools/javac/newlines/Newlines.sh
# tools/javac/stackmap/T4955930.java
# tools/javac/unicode/SupplementaryJavaID6.sh
# tools/javah/6257087/foo.sh
# tools/javah/ConstMacroTest.sh
# tools/javah/MissingParamClassTest.sh
# tools/javah/ReadOldClass.sh
# tools/javap/pathsep.sh

Workspace: /java/re/jdk/7u4/promoted/ea/b225/ws/langtools/test
Results: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=34082.LANGTOOLS-BUGFIX-1
The above workspace has its parent as: http://hg.openjdk.java.net/jdk7u/jdk7u-osx/langtools

Our previous runs for mac had the parent as: http://hg.openjdk.java.net/macosx-port/macosx-port/langtools
Previous results: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=23280.LANGTOOLS-BUGFIX-1

It might be the changes in macosx-port did not reach jdk7u-osx forest.

                                    

Comments
SUGGESTED FIX

http://cr.openjdk.java.net/~jjh/7130704/ 

Basically, check for uname = Darwin in .sh tests.  Also a few fixes for the pleasure of jprt.
                                     
2012-01-23
EVALUATION

The note in the description that some changes in the repo
   http://hg.openjdk.java.net/macosx-port/macosx-port/langtools

have not been moved to jdk7u/jdk7u-osx/langtools is correct.
                                     
2012-01-23



Hardware and Software, Engineered to Work Together