javaldx.cxx (76c3a0c5) | javaldx.cxx (7ffb764a) |
---|---|
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 --- 107 unchanged lines hidden (view full) --- 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")); | 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 --- 107 unchanged lines hidden (view full) --- 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")); |
124 rtl::OUString sVendor10(RTL_CONSTASCII_USTRINGPARAM("OpenJDK")); |
|
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 132 || sVendor8.equals(pInfo->sVendor) == sal_True | 125 if ( ! (sVendor0.equals(pInfo->sVendor) == sal_True 126 || sVendor1.equals(pInfo->sVendor) == sal_True 127 || sVendor2.equals(pInfo->sVendor) == sal_True 128 || sVendor3.equals(pInfo->sVendor) == sal_True 129 || sVendor4.equals(pInfo->sVendor) == sal_True 130 || sVendor5.equals(pInfo->sVendor) == sal_True 131 || sVendor6.equals(pInfo->sVendor) == sal_True 132 || sVendor7.equals(pInfo->sVendor) == sal_True 133 || sVendor8.equals(pInfo->sVendor) == sal_True |
133 || sVendor9.equals(pInfo->sVendor) == sal_True)) | 134 || sVendor9.equals(pInfo->sVendor) == sal_True 135 || sVendor10.equals(pInfo->sVendor) == sal_True)) |
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 --- | 136 return 0; 137 138 rtl::OString sPaths = getLD_LIBRARY_PATH(pInfo->arVendorData); 139 fprintf(stdout, "%s\n", sPaths.getStr()); 140 jfw_freeJavaInfo(pInfo); 141 142 return 0; 143} --- 47 unchanged lines hidden --- |