This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fury.git


The following commit(s) were added to refs/heads/main by this push:
     new bce372e5 fix(scala): fix scala native-image.properties (#1923)
bce372e5 is described below

commit bce372e57d9426258cf8c7e3fce85f69a0f47eea
Author: Shawn Yang <[email protected]>
AuthorDate: Sun Nov 3 23:48:21 2024 +0800

    fix(scala): fix scala native-image.properties (#1923)
    
    <!--
    **Thanks for contributing to Fury.**
    
    **If this is your first time opening a PR on fury, you can refer to
    
[CONTRIBUTING.md](https://github.com/apache/fury/blob/main/CONTRIBUTING.md).**
    
    Contribution Checklist
    
    - The **Apache Fury (incubating)** community has restrictions on the
    naming of pr titles. You can also find instructions in
    [CONTRIBUTING.md](https://github.com/apache/fury/blob/main/CONTRIBUTING.md).
    
    - Fury has a strong focus on performance. If the PR you submit will have
    an impact on performance, please benchmark it first and provide the
    benchmark result here.
    -->
    
    ## What does this PR do?
    
    <!-- Describe the purpose of this PR. -->
    
    ## Related issues
    
    #1922
    
    ## Does this PR introduce any user-facing change?
    
    <!--
    If any user-facing interface changes, please [open an
    issue](https://github.com/apache/fury/issues/new/choose) describing the
    need to do so and update the document if necessary.
    -->
    
    - [ ] Does this PR introduce any public API change?
    - [ ] Does this PR introduce any binary protocol compatibility change?
    
    ## Benchmark
    
    <!--
    When the PR has an impact on performance (if you don't know whether the
    PR will have an impact on performance, you can submit the PR first, and
    if it will have impact on performance, the code reviewer will explain
    it), be sure to attach a benchmark data here.
    -->
---
 .../native-image/org.apache.fury/fury-core/native-image.properties  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/scala/src/main/resources/META-INF/native-image/org.apache.fury/fury-core/native-image.properties
 
b/scala/src/main/resources/META-INF/native-image/org.apache.fury/fury-core/native-image.properties
index bdc7207e..00569a58 100644
--- 
a/scala/src/main/resources/META-INF/native-image/org.apache.fury/fury-core/native-image.properties
+++ 
b/scala/src/main/resources/META-INF/native-image/org.apache.fury/fury-core/native-image.properties
@@ -18,9 +18,9 @@
 # 
https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/Reflection/#unsafe-accesses
 :
 # The unsafe offset get on build time may be different from runtime
 Args=--initialize-at-build-time=org.apache.fury.type.ScalaTypes,\
-    org.apache.fury.type.Seq,\
-    org.apache.fury.type.Map,\
-    org.apache.fury.type.Iterable,\
+    scala.collection.Seq,\
+    scala.collection.Map,\
+    scala.collection.Iterable,\
     scala.collection.Iterator,\
     org.apache.fury.serializer.scala.ScalaDispatcher,\
     org.apache.fury.serializer.scala.AbstractScalaCollectionSerializer,\


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to