javaldx.cxx (a937066d) javaldx.cxx (76c3a0c5)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 106 unchanged lines hidden (view full) ---

115 rtl::OUString sVendor1(RTL_CONSTASCII_USTRINGPARAM("Sun Microsystems Inc."));
116 rtl::OUString sVendor2(RTL_CONSTASCII_USTRINGPARAM("IBM Corporation"));
117 rtl::OUString sVendor3(RTL_CONSTASCII_USTRINGPARAM("Blackdown Java-Linux Team"));
118 rtl::OUString sVendor4(RTL_CONSTASCII_USTRINGPARAM("Apple Inc."));
119 rtl::OUString sVendor5(RTL_CONSTASCII_USTRINGPARAM("Apple Computer, Inc."));
120 rtl::OUString sVendor6(RTL_CONSTASCII_USTRINGPARAM("BEA Systems, Inc."));
121 rtl::OUString sVendor7(RTL_CONSTASCII_USTRINGPARAM("Free Software Foundation, Inc."));
122 rtl::OUString sVendor8(RTL_CONSTASCII_USTRINGPARAM("The FreeBSD Foundation"));
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 106 unchanged lines hidden (view full) ---

115 rtl::OUString sVendor1(RTL_CONSTASCII_USTRINGPARAM("Sun Microsystems Inc."));
116 rtl::OUString sVendor2(RTL_CONSTASCII_USTRINGPARAM("IBM Corporation"));
117 rtl::OUString sVendor3(RTL_CONSTASCII_USTRINGPARAM("Blackdown Java-Linux Team"));
118 rtl::OUString sVendor4(RTL_CONSTASCII_USTRINGPARAM("Apple Inc."));
119 rtl::OUString sVendor5(RTL_CONSTASCII_USTRINGPARAM("Apple Computer, Inc."));
120 rtl::OUString sVendor6(RTL_CONSTASCII_USTRINGPARAM("BEA Systems, Inc."));
121 rtl::OUString sVendor7(RTL_CONSTASCII_USTRINGPARAM("Free Software Foundation, Inc."));
122 rtl::OUString sVendor8(RTL_CONSTASCII_USTRINGPARAM("The FreeBSD Foundation"));
123 rtl::OUString sVendor9(RTL_CONSTASCII_USTRINGPARAM("AdoptOpenJDK"));
123 if ( ! (sVendor0.equals(pInfo->sVendor) == sal_True
124 || sVendor1.equals(pInfo->sVendor) == sal_True
125 || sVendor2.equals(pInfo->sVendor) == sal_True
126 || sVendor3.equals(pInfo->sVendor) == sal_True
127 || sVendor4.equals(pInfo->sVendor) == sal_True
128 || sVendor5.equals(pInfo->sVendor) == sal_True
129 || sVendor6.equals(pInfo->sVendor) == sal_True
130 || sVendor7.equals(pInfo->sVendor) == sal_True
124 if ( ! (sVendor0.equals(pInfo->sVendor) == sal_True
125 || sVendor1.equals(pInfo->sVendor) == sal_True
126 || sVendor2.equals(pInfo->sVendor) == sal_True
127 || sVendor3.equals(pInfo->sVendor) == sal_True
128 || sVendor4.equals(pInfo->sVendor) == sal_True
129 || sVendor5.equals(pInfo->sVendor) == sal_True
130 || sVendor6.equals(pInfo->sVendor) == sal_True
131 || sVendor7.equals(pInfo->sVendor) == sal_True
131 || sVendor8.equals(pInfo->sVendor) == sal_True))
132 || sVendor8.equals(pInfo->sVendor) == sal_True
133 || sVendor9.equals(pInfo->sVendor) == sal_True))
132 return 0;
133
134 rtl::OString sPaths = getLD_LIBRARY_PATH(pInfo->arVendorData);
135 fprintf(stdout, "%s\n", sPaths.getStr());
136 jfw_freeJavaInfo(pInfo);
137
138 return 0;
139}

--- 47 unchanged lines hidden ---
134 return 0;
135
136 rtl::OString sPaths = getLD_LIBRARY_PATH(pInfo->arVendorData);
137 fprintf(stdout, "%s\n", sPaths.getStr());
138 jfw_freeJavaInfo(pInfo);
139
140 return 0;
141}

--- 47 unchanged lines hidden ---